howto:learn_k8s
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:learn_k8s [2023/04/02 23:17] – andrewferguson | howto:learn_k8s [2023/07/29 11:13] (current) – removed tcmal | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Learn Kubernetes (k8s) ====== | ||
- | Kubernetes (k8s for short) is pretty complicated, | ||
- | |||
- | ===== First, Make some 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: | ||
- | |||
- | * [[https:// | ||
- | * [[https:// | ||
- | * [[https:// | ||
- | |||
- | ===== Then, do things with them ===== | ||
- | |||
- | Now that you know all about containerisation, | ||
- | |||
- | * [[https:// | ||
- | * [[https:// | ||
- | * [[https:// | ||
- | |||
- | ===== 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 '' | ||
- | |||
- | If you want to use a custom domain (or one of our top-level ones), currently you'll need to contact an admin - we plan to automate this soon though. | ||
- | |||
- | If what you're building doesn' |
howto/learn_k8s.1680477463.txt.gz · Last modified: 2023/04/02 23:17 by andrewferguson