Comments (8)
Not quite! On line 43, we show how to create a namespace, but this is not an exercise; i.e. we don't run it and we don't expect people to run it. It's just to give the command.
So on line 93, the namespace hasn't been created yet (we just point the config file to it); Helm will create it automatically though.
from container.training.
Ah! Do you think we want to clarify on the slide that this isn't an exercise? I know it doesn't have the "exercise" label, but since it's working code, people may try to run it anyhow. Maybe it's worth clarifying the place the namespace gets created?
from container.training.
I was relying on the fact that it's idempotent, and it doesn't hurt whether people run it or not.
Likewise, we give a few kubectl get
(and other "read" commands) outside of exercise blocks.
But yes .. .Hmm..
Perhaps instead of "the namespace doesn't exist yet" this should say "this doesn't create the namespace" or something like that.
from container.training.
Perhaps instead of "the namespace doesn't exist yet" this should say "this doesn't create the namespace" or something like that.
Right, like, we shouldn't assert that something doesn't exist when we gave a command that could create it. I'm imagining that if the namespace is being created by ✨magic ✨ elsewhere, we should clarify that has happened, when it's happening?
from container.training.
The namespace is created automatically by Helm, and it is mentioned there:
Do you think it needs to be clarified further?
from container.training.
What we have on the slide currently says "if" and yes, that "if" does apply to us. What I think is unclear (and what I still don't fully understand) is exactly which helm command creates that specific "blue" namespace, and when. Like, we tell it to use a context - is it happening then? Without further research/reading, that's not obvious to me, so I also think it won't be obvious to workshop participants.
from container.training.
As far as I understand, Helm will use the default kube configuration. Therefore, with our kube config set-context ...
commands, we end up instructing Helm to use a specific namespace as well.
Then (still as far as I understand) Helm has some logic like "if you ask me to create a resource in a namespace that doesn't exist, I will create the namespace for you." As a result, helm install ...
will create the namespace.
from container.training.
Okay, that makes sense. I will ponder this a little more and see how it works in practice before I raise an issue for any possible re-wording.
from container.training.
Related Issues (20)
- revise AWS cluster-launching info to highlight eksctl HOT 1
- default kube-proxy mode HOT 2
- Where to put Kubernetes dry-run and diff slides? HOT 2
- Can't get the k8s dashboard app working. No option to skip. HOT 1
- k3d example code needs an update HOT 1
- Ingress changes with networking.k8s.io/v1 GA in 1.19
- Update RBAC API version. Warning in 1.17+ HOT 1
- `workshopctl kube` times out waiting for password HOT 3
- `$` Not defined HOT 3
- Feature Request - instructions or script to properly enable suggested additional tools HOT 1
- dockercoins: docker-compose up fails on WSL2 HOT 2
- k8s/authn-authz --serviceaccount deprecated HOT 1
- Add support for github codespace HOT 8
- Regarding the page https://qconuk2019.container.training/#185, expose service type HOT 2
- Permission error when running `gem install sinatra` HOT 2
- Missing referenced diagram HOT 1
- Dead links on slide 30 (Introduction to Containers) HOT 1
- Docker install assumes `/etc/docker` exists
- Typo in Docker Command: --path.sysfs Argument HOT 1
- Self-paced trainings of https://container.training download the index page, instead of showing the slides HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from container.training.