mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 18:09:44 +00:00
update bootstrap instructions
This commit is contained in:
parent
1c905f7d10
commit
61d651f33d
1 changed files with 9 additions and 12 deletions
21
Bootstrap.md
21
Bootstrap.md
|
|
@ -1,15 +1,9 @@
|
||||||
|
install ingress-nginx
|
||||||
create namespaces
|
|
||||||
|
|
||||||
```
|
```
|
||||||
$ kubectl --context=gullfaxi apply main/templates/namespace-*.yaml
|
$ helm dep update apps/system/ingress-nginx
|
||||||
```
|
$ kubectl --context=gullfaxi create namespace ingress-nginx
|
||||||
|
$ helm template ingress-nginx --namespace ingress-nginx apps/system/ingress-nginx | kubectl --context=gullfaxi --namespace ingress-nginx apply -f -
|
||||||
install nginx-ingress
|
|
||||||
|
|
||||||
```
|
|
||||||
$ helm dep update apps/system/nginx-ingress
|
|
||||||
$ helm template --name nginx-ingress --namespace nginx-ingress apps/system/nginx-ingress | kubectl --context=gullfaxi --namespace nginx-ingress apply -f -
|
|
||||||
```
|
```
|
||||||
|
|
||||||
install cert-manager with cluster issuer
|
install cert-manager with cluster issuer
|
||||||
|
|
@ -17,7 +11,10 @@ install cert-manager with cluster issuer
|
||||||
```
|
```
|
||||||
$ helm repo add jetstack https://charts.jetstack.io
|
$ helm repo add jetstack https://charts.jetstack.io
|
||||||
$ helm dep update apps/system/cert-manager
|
$ helm dep update apps/system/cert-manager
|
||||||
$ helm template --name cert-manager --namespace cert-manager apps/system/cert-manager | kubectl --context=gullfaxi --namespace cert-manager apply -f -
|
$ kubectl --context=gullfaxi create namespace cert-manager
|
||||||
|
$ kubectl --context=gullfaxi label namespace cert-manager certmanager.k8s.io/disable-validation="true"
|
||||||
|
$ kubectl --context=gullfaxi apply --validate=false -f apps/system/cert-manager/templates/cert-manager.crds.yaml
|
||||||
|
$ helm template cert-manager --namespace cert-manager apps/system/cert-manager | kubectl --context=gullfaxi apply -f -
|
||||||
```
|
```
|
||||||
|
|
||||||
install argocd
|
install argocd
|
||||||
|
|
@ -38,7 +35,7 @@ add argocd public key as deploy key to gf-k8s repo
|
||||||
log into argocd
|
log into argocd
|
||||||
|
|
||||||
```
|
```
|
||||||
$ argocd login argocd-grpc.gorilych.ru
|
$ argocd login --grpc-web argocd.gorilych.ru
|
||||||
```
|
```
|
||||||
|
|
||||||
create main app
|
create main app
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue