Skip to content

Commit 763e774

Browse files
committed
style: Fix using Prettier
1 parent 5ebe987 commit 763e774

7 files changed

+16
-19
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ Source of my Kubernetes Training.
2626

2727
<https://sika.link/chat>
2828

29-
3029
## 12 Factor Apps
3130

3231
[12factor.net](https://12factor.net)
@@ -217,7 +216,6 @@ I recommend you using Minikube (or Kubernetes support in Docker Desktop), but if
217216

218217
Download & use my Digital Ocean Kubernetes confing (repository [ondrejsika/kubeconfig-sikademo](https://github.com/ondrejsika/kubeconfig-sikademo/)). This Kubernetes cluster is created by [ondrejsika/terraform-do-kubernetes-example](https://github.com/ondrejsika/terraform-do-kubernetes-example) on Digital Ocean.
219218

220-
221219
#### Using training-cli
222220

223221
```
@@ -281,7 +279,7 @@ Change port
281279
kubectl proxy -p 8002
282280
```
283281

284-
**DO NOT RUN IN PRODODUCTION**: Run proxy on all interfaces and allow all hosts - for training only
282+
**DO NOT RUN IN PRODODUCTION**: Run proxy on all interfaces and allow all hosts - for training only
285283

286284
```
287285
kubectl proxy --address 0.0.0.0 --accept-hosts=".*"
@@ -1077,7 +1075,6 @@ See:
10771075
- http://nginx.k8s.sikademo.com
10781076
- http://apache.k8s.sikademo.com
10791077

1080-
10811078
Cleanup
10821079

10831080
```
@@ -1211,6 +1208,7 @@ List namespaces
12111208
```
12121209
kn
12131210
```
1211+
12141212
or
12151213

12161214
```
@@ -1430,6 +1428,7 @@ DigitalOcean
14301428
```
14311429
kubectl apply -f pvc-do-retain.yml
14321430
```
1431+
14331432
### CephFS Example
14341433

14351434
```

clusterissuer-letsencrypt-staging.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ spec:
99
privateKeySecretRef:
1010
name: letsencrypt-issuer-account-key
1111
solvers:
12-
- http01:
13-
ingress:
14-
class: nginx
12+
- http01:
13+
ingress:
14+
class: nginx

clusterissuer-letsencrypt.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ spec:
99
privateKeySecretRef:
1010
name: letsencrypt-issuer-account-key
1111
solvers:
12-
- http01:
13-
ingress:
14-
class: nginx
12+
- http01:
13+
ingress:
14+
class: nginx

init_containers_migrations.yml

-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,3 @@ spec:
5252
limits:
5353
memory: 100Mi
5454
cpu: 20m
55-

init_containers_migrations_slu.yml

-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,3 @@ spec:
5252
limits:
5353
memory: 100Mi
5454
cpu: 20m
55-

sc-longhorn-retain.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ parameters:
1010
fromBackup: ""
1111
fsType: ext4
1212
numberOfReplicas: "3"
13-
staleReplicaTimeout: "2880"
13+
staleReplicaTimeout: "2880"

topology_spread_constraints.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ spec:
1414
app: topology-spread-constraints
1515
spec:
1616
topologySpreadConstraints:
17-
- maxSkew: 1
18-
topologyKey: kubernetes.io/hostname
19-
whenUnsatisfiable: ScheduleAnyway
20-
labelSelector:
21-
matchLabels:
22-
app: topology-spread-constraints
17+
- maxSkew: 1
18+
topologyKey: kubernetes.io/hostname
19+
whenUnsatisfiable: ScheduleAnyway
20+
labelSelector:
21+
matchLabels:
22+
app: topology-spread-constraints
2323
containers:
2424
- name: hello-world
2525
image: nginx:alpine

0 commit comments

Comments
 (0)