imagepull-controller-workshop
Versions
- workshop: First working version without some code for the workshop.
- v0.1.0: First working versions.
- v0.2.0: Optimized version for secret retrieval.
Agenda
Introduction
Problem
- Explain the problem to solve.
Concepts
- Controller Concepts
- Explain controller components (1, 2).
Implementation
Explanation
- What is Kooper and alternatives.
- Explain project structure.
Implement
git clone git@github.com:slok/imagepull-controller-workshop.git && cd ./imagepull-controller-workshop
git checkout workshop
kind create cluster
kubectl apply -f ./tests/manual/secret.yaml
go run ./cmd/imagepull-controller-workshop/ -r default --secret-name test-imagepull-credentials --development
Optional homework
- Metrics.
- Unit testing.
- Secret.
- Caching (Check v0.2.0).
- Update on change (Secret controller).
- Service account.
- Update on change instead of ensuring.
Further information