mirror of
https://github.com/wardviaene/kubernetes-course.git
synced 2026-05-20 06:52:44 +00:00
flux demo
This commit is contained in:
27
flux/README.md
Normal file
27
flux/README.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# Installation
|
||||
|
||||
```
|
||||
kubectl create ns flux
|
||||
export GHUSER="YOURUSER"
|
||||
fluxctl install \
|
||||
--git-user=${GHUSER} \
|
||||
--git-email=${GHUSER}@users.noreply.github.com \
|
||||
--git-url=git@github.com:${GHUSER}/flux-demo \
|
||||
--git-path=namespaces,workloads \
|
||||
--namespace=flux | kubectl apply -f -
|
||||
```
|
||||
|
||||
Check rollout status:
|
||||
```
|
||||
kubectl -n flux rollout status deployment/flux
|
||||
```
|
||||
|
||||
# Setup SSH key
|
||||
```
|
||||
fluxctl identity --k8s-fwd-ns flux
|
||||
```
|
||||
|
||||
# Sync repo manually
|
||||
```
|
||||
fluxctl sync --k8s-fwd-ns flux
|
||||
```
|
||||
Reference in New Issue
Block a user