Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fireflycons committed Mar 31, 2023
1 parent 9d79501 commit dca35a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/09-Networking/24-Practice-Test-CKA-Ingress-Net-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,12 @@
```
kubectl edit ingress --namespace app-space
```
Change the path from /watch to /stream
OR
```yaml
apiVersion: v1
items:
- apiVersion: extensions/v1beta1
Expand Down Expand Up @@ -198,11 +199,11 @@
<details>
```
Run the command 'kubectl edit ingress --namespace app-space' and add a new Path entry for the new service.
Run the command `kubectl edit ingress --namespace app-space` and add a new Path entry for the new service.
OR
```yaml
apiVersion: v1
items:
- apiVersion: extensions/v1beta1
Expand Down Expand Up @@ -274,7 +275,7 @@
<details>
```
```yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
cat <<EOF | tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
net.ipv4.ip_forward = 1
EOF
sysctl --system
```
Expand Down

0 comments on commit dca35a8

Please sign in to comment.