fix formatting
This commit is contained in:
@@ -24,13 +24,15 @@ i.e. general issuer for all namespaces in cluster.
|
|||||||
|
|
||||||
|
|
||||||
## Test Deployment
|
## Test Deployment
|
||||||
|
```
|
||||||
k create ns test
|
k create ns test
|
||||||
kubectl create deploy nginx --image=nginx -n test
|
kubectl create deploy nginx --image=nginx -n test
|
||||||
k create svc -n test clusterip nginx --tcp=80
|
k create svc -n test clusterip nginx --tcp=80
|
||||||
k scale --replicas=3 deployment/nginx -n test
|
k scale --replicas=3 deployment/nginx -n test
|
||||||
|
```
|
||||||
|
|
||||||
## Install Traefik & Cert-Manager
|
## Install Traefik & Cert-Manager
|
||||||
|
```
|
||||||
|
|
||||||
helm install traefik traefik/traefik --namespace traefik --create-namespace --values traefik-values.yaml
|
helm install traefik traefik/traefik --namespace traefik --create-namespace --values traefik-values.yaml
|
||||||
|
|
||||||
@@ -44,19 +46,21 @@ k apply -f cert-manager-issuer-secret.yaml
|
|||||||
k get secret -n cert-manager
|
k get secret -n cert-manager
|
||||||
|
|
||||||
k apply -f cert-manager-cluster-issuer.yaml
|
k apply -f cert-manager-cluster-issuer.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Switch Test Deployment to https
|
## Switch Test Deployment to https
|
||||||
|
```
|
||||||
k apply -f test/nginx-certificate.yaml
|
k apply -f test/nginx-certificate.yaml
|
||||||
k apply -f test/nginx-ingress.yaml
|
k apply -f test/nginx-ingress.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Troubleshooting steps
|
## Troubleshooting steps
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
k get po -n test -o wide
|
k get po -n test -o wide
|
||||||
k create svc -n test clusterip nginx
|
k create svc -n test clusterip nginx
|
||||||
k create svc -n test clusterip nginx --tcp=80
|
k create svc -n test clusterip nginx --tcp=80
|
||||||
@@ -70,12 +74,11 @@ k apply -f traefik_lempa/nginx-ingress.yaml
|
|||||||
k get svc -n test
|
k get svc -n test
|
||||||
k get ingress
|
k get ingress
|
||||||
k get ingress -n test
|
k get ingress -n test
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
k get svc ingressRoute
|
k get svc ingressRoute
|
||||||
k get svc ingressRoutes
|
k get svc ingressRoutes
|
||||||
k get svc ingressroutes.traefik.io
|
k get svc ingressroutes.traefik.io
|
||||||
@@ -89,4 +92,5 @@ k get po
|
|||||||
k apply -f traefik_lempa/cert-manager-issuer-secret.yaml
|
k apply -f traefik_lempa/cert-manager-issuer-secret.yaml
|
||||||
k get secret
|
k get secret
|
||||||
k get secrets
|
k get secrets
|
||||||
k get clusterissuers.cert-manager.io
|
k get clusterissuers.cert-manager.io
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user