Skip to content

Commit 6892073

Browse files
fix(post): Fix formatting on traefik + cert-manager
1 parent 4be1fdb commit 6892073

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

_posts/2022-08-06-kube-traefik-cert-manager-le.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,25 @@ version.BuildInfo{Version:"v3.8.0", GitCommit:"d14138609b01886f544b2025f5000351c
6767
> These [resources](https://github.com/techno-tim/launchpad/tree/master/kubernetes/traefik-cert-manager) are in the `launchpad/kubernetes/traefik-cert-manager/traefik/` folder
6868
{: .prompt-info }
6969

70+
Add repo
71+
7072
```bash
7173
helm repo add traefik https://helm.traefik.io/traefik
7274
```
7375

76+
Update repo
77+
7478
```bash
7579
helm repo update
7680
```
7781

82+
Install traefik
83+
7884
```bash
7985
helm install --namespace=traefik traefik traefik/traefik --values=values.yaml
8086
```
8187

82-
Check the status of the Traefik ingress controller service
88+
Check the status of the traefik ingress controller service
8389

8490
```bash
8591
kubectl get svc --all-namespaces -o wide
@@ -96,6 +102,8 @@ metallb-system webhook-service ClusterIP 10.43.205.142 <none>
96102
traefik traefik LoadBalancer 10.43.156.161 192.168.30.80 80:30358/TCP,443:31265/TCP 22s app.kubernetes.io/instance=traefik,app.kubernetes.io/name=traefik
97103
```
98104

105+
Ger all pods in `traefik` namespace
106+
99107
```bash
100108
kubectl get pods --namespace traefik
101109
```
@@ -111,10 +119,14 @@ traefik-76474c4d47-xx5lw 1/1 Running 0 11m
111119

112120
### middleware
113121

122+
Apply middleware
123+
114124
```bash
115125
kubectl apply -f default-headers.yaml
116126
```
117127

128+
Get middleware
129+
118130
```bash
119131
kubectl get middleware
120132
```
@@ -226,7 +238,7 @@ metallb-system Active 21h
226238
traefik Active 4h35m
227239
```
228240

229-
Apply crds (1.9.1)
241+
Apply crds
230242

231243
> *Note: Be sure to change this to the [latest version](https://cert-manager.io/docs/installation/supported-releases/) of `cert-manager`*
232244
{: .prompt-info }

0 commit comments

Comments
 (0)