howto:learn_k8s
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
howto:learn_k8s [2023/03/25 01:54] – created tcmal | howto:learn_k8s [2023/04/03 11:38] – tcmal | ||
---|---|---|---|
Line 7: | Line 7: | ||
k8s organises containers for us, so first we need to understand how to use containers. | k8s organises containers for us, so first we need to understand how to use containers. | ||
- | The most popular tool for working with containers on the desktop is Docker. It's installed on the sandbox VM, so you can SSH in and try it immediately. Here are some starter tutorials: | + | The most popular tool for working with containers on the desktop is Docker. Here are some starter tutorials: |
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | If you want to use the Sandbox to experiment (see [[tutorials: | ||
===== Then, do things with them ===== | ===== Then, do things with them ===== | ||
- | Now that you know all about containerisation, | + | Now that you know all about containerisation, |
* [[https:// | * [[https:// | ||
Line 21: | Line 23: | ||
* [[https:// | * [[https:// | ||
- | ===== TODO: Putting things on the internet ===== | + | ===== Putting things on the internet ===== |
+ | |||
+ | When you're debugging, you can use [[https:// | ||
+ | |||
+ | Currently we allow you to host things at ''< | ||
+ | |||
+ | < | ||
+ | apiVersion: networking.k8s.io/ | ||
+ | kind: Ingress | ||
+ | metadata: | ||
+ | name: awesome-app | ||
+ | spec: | ||
+ | rules: | ||
+ | - host: USERNAME.tardis.ac | ||
+ | http: | ||
+ | paths: | ||
+ | - path: / | ||
+ | pathType: Prefix | ||
+ | backend: | ||
+ | service: | ||
+ | name: awesome-app | ||
+ | port: | ||
+ | name: web | ||
+ | </ | ||
+ | |||
+ | You can route different subdirectories of your domain to different apps by changing the '' | ||
- | I haven' | + | If you want to use a custom domain (or one of our top-level ones), currently you' |
+ | If what you're building doesn' |