Skip to content

Commit 5fc925f

Browse files
Bharath KaimalBharath Kaimal
authored andcommitted
updates to kubernetes-networking
1 parent 1970f6f commit 5fc925f

File tree

4 files changed

+56
-49
lines changed

4 files changed

+56
-49
lines changed

docs/openshift/services-networking/index.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@ If you’re able to use Kubernetes APIs for service discovery in your applicatio
1212

1313
For non-native applications, Kubernetes offers ways to place a network port or load balancer in between your application and the backend Pods.
1414

15-
1615
## Resources
1716

1817
=== "OpenShift & Kubernetes"
1918

20-
[Services :fontawesome-solid-globe:](https://kubernetes.io/docs/concepts/services-networking/service/){ .md-button target="_blank"}
19+
[Services :fontawesome-solid-wrench:](https://kubernetes.io/docs/concepts/services-networking/service/){ .md-button target="_blank"}
2120

22-
[Exposing Services :fontawesome-solid-globe:](https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/){ .md-button target="_blank"}
21+
[Exposing Services :fontawesome-solid-wrench:](https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/){ .md-button target="_blank"}
2322

2423
## References
2524

@@ -43,11 +42,11 @@ spec:
4342
version: v1
4443
spec:
4544
containers:
46-
- name: nginx
47-
image: bitnami/nginx
48-
ports:
49-
- containerPort: 8080
50-
name: http
45+
- name: nginx
46+
image: bitnami/nginx
47+
ports:
48+
- containerPort: 8080
49+
name: http
5150
---
5251
apiVersion: v1
5352
kind: Service
@@ -61,6 +60,7 @@ spec:
6160
port: 80
6261
targetPort: http
6362
```
63+
6464
=== "OpenShift"
6565
6666
```Bash title="Get Logs"
@@ -84,6 +84,7 @@ spec:
8484
```
8585

8686
```
87+
8788
```
8889
8990
=== "OpenShift"
@@ -124,8 +125,8 @@ spec:
124125
125126
## Activities
126127
127-
| Task | Description | Link |
128-
| --------------------------------| ------------------ |:----------- |
129-
| *** Try It Yourself *** | | |
130-
| Creating Services | Create two services with certain requirements. | [Setting up Services](../../labs/kubernetes/lab8/index.md) |
131-
| IKS Ingress Controller | Configure Ingress on Free IKS Cluster | [Setting IKS Ingress](../../labs/kubernetes/ingress-iks/index.md) |
128+
| Task | Description | Link |
129+
| ---------------------- | ---------------------------------------------- | :---------------------------------------------------------------- |
130+
| **_Try It Yourself_** | | |
131+
| Creating Services | Create two services with certain requirements. | [Setting up Services](../../labs/kubernetes/lab8/index.md) |
132+
| IKS Ingress Controller | Configure Ingress on Free IKS Cluster | [Setting IKS Ingress](../../labs/kubernetes/ingress-iks/index.md) |

docs/openshift/services-networking/ingress.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ Ingress exposes HTTP and HTTPS routes from outside the cluster to services withi
1010

1111
=== "OpenShift"
1212

13-
[Ingress Operator :fontawesome-solid-globe:](https://docs.openshift.com/container-platform/4.13/networking/ingress-operator.html){ .md-button target="_blank"}
13+
[Ingress Operator :fontawesome-solid-door-open:](https://docs.openshift.com/container-platform/4.13/networking/ingress-operator.html){ .md-button target="_blank"}
1414

15-
[Using Ingress Controllers :fontawesome-solid-globe:](https://docs.openshift.com/container-platform/4.13/networking/configuring_ingress_cluster_traffic/configuring-ingress-cluster-traffic-ingress-controller.html){ .md-button target="_blank"}
15+
[Using Ingress Controllers :fontawesome-solid-door-open:](https://docs.openshift.com/container-platform/4.13/networking/configuring_ingress_cluster_traffic/configuring-ingress-cluster-traffic-ingress-controller.html){ .md-button target="_blank"}
1616

1717
=== "Kubernetes"
1818

19-
[Ingress :fontawesome-solid-globe:](https://kubernetes.io/docs/concepts/services-networking/ingress/){ .md-button target="_blank"}
19+
[Ingress :fontawesome-solid-door-open:](https://kubernetes.io/docs/concepts/services-networking/ingress/){ .md-button target="_blank"}
2020

21-
[Ingress Controllers :fontawesome-solid-globe:](https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/){ .md-button target="_blank"}
21+
[Ingress Controllers :fontawesome-solid-door-open:](https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/){ .md-button target="_blank"}
2222

23-
[Minikube Ingress :fontawesome-solid-globe:](https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/){ .md-button target="_blank"}
23+
[Minikube Ingress :fontawesome-solid-door-open:](https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/){ .md-button target="_blank"}
2424

2525
## References
2626

@@ -31,14 +31,15 @@ metadata:
3131
name: example-ingress
3232
spec:
3333
rules:
34-
- host: hello-world.info
35-
http:
36-
paths:
37-
- path: /
38-
backend:
39-
serviceName: web
40-
servicePort: 8080
34+
- host: hello-world.info
35+
http:
36+
paths:
37+
- path: /
38+
backend:
39+
serviceName: web
40+
servicePort: 8080
4141
```
42+
4243
=== "OpenShift"
4344
4445
``` Bash title="View Ingress Status"
@@ -75,7 +76,7 @@ spec:
7576

7677
## Activities
7778

78-
| Task | Description | Link |
79-
| --------------------------------| ------------------ |:----------- |
80-
| *** Try It Yourself *** | | |
81-
| IKS Ingress Controller | Configure Ingress on Free IKS Cluster | [Setting IKS Ingress](../../labs/kubernetes/ingress-iks/index.md) |
79+
| Task | Description | Link |
80+
| ---------------------- | ------------------------------------- | :---------------------------------------------------------------- |
81+
| **_Try It Yourself_** | | |
82+
| IKS Ingress Controller | Configure Ingress on Free IKS Cluster | [Setting IKS Ingress](../../labs/kubernetes/ingress-iks/index.md) |

docs/openshift/services-networking/routes.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Routes
22

3-
(OpenShift Only)
3+
**_OpenShift Only_**
44

5-
Routes are Openshift objects that expose services for external clients to reach them by name.
5+
Routes are Openshift objects that expose services for external clients to reach them by name.
66

77
Routes can insecured or secured on creation using certificates.
88

@@ -12,15 +12,16 @@ The new route inherits the name from the service unless you specify one using th
1212

1313
=== "OpenShift"
1414

15-
[Routes :fontawesome-solid-globe:](https://docs.openshift.com/online/pro/dev_guide/routes.html){ .md-button target="_blank"}
15+
[Routes :fontawesome-solid-route:](https://docs.openshift.com/online/pro/dev_guide/routes.html){ .md-button target="_blank"}
1616

17-
[Route Configuration :fontawesome-solid-globe:](https://docs.openshift.com/container-platform/4.13/networking/routes/route-configuration.html){ .md-button target="_blank"}
17+
[Route Configuration :fontawesome-solid-route:](https://docs.openshift.com/container-platform/4.13/networking/routes/route-configuration.html){ .md-button target="_blank"}
1818

19-
[Secured Routes :fontawesome-solid-globe:](https://docs.openshift.com/container-platform/4.13/networking/routes/secured-routes.html){ .md-button target="_blank"}
19+
[Secured Routes :fontawesome-solid-route:](https://docs.openshift.com/container-platform/4.13/networking/routes/secured-routes.html){ .md-button target="_blank"}
2020

2121
## References
2222

23-
** Route Creation **
23+
**_Route Creation_**
24+
2425
```
2526
apiVersion: v1
2627
kind: Route
@@ -31,7 +32,9 @@ spec:
3132
kind: Service
3233
name: frontend
3334
```
34-
** Secured Route Creation **
35+
36+
**_Secured Route Creation_**
37+
3538
```
3639
apiVersion: v1
3740
kind: Route
@@ -46,6 +49,7 @@ spec:
4649
```
4750

4851
## Commands
52+
4953
=== "OpenShift"
5054

5155
``` Bash title="Create Route from YAML"
@@ -62,4 +66,4 @@ spec:
6266

6367
``` Bash title="Get Route YAML"
6468
oc get route <route_name> -o yaml
65-
```
69+
```

docs/openshift/services-networking/services.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@ If you’re able to use Kubernetes APIs for service discovery in your applicatio
1212

1313
For non-native applications, Kubernetes offers ways to place a network port or load balancer in between your application and the backend Pods.
1414

15-
1615
## Resources
1716

1817
=== "OpenShift & Kubernetes"
1918

20-
[Services :fontawesome-solid-globe:](https://kubernetes.io/docs/concepts/services-networking/service/){ .md-button target="_blank"}
19+
[Services :fontawesome-solid-wrench:](https://kubernetes.io/docs/concepts/services-networking/service/){ .md-button target="_blank"}
2120

22-
[Exposing Services :fontawesome-solid-globe:](https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/){ .md-button target="_blank"}
21+
[Exposing Services :fontawesome-solid-wrench:](https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/){ .md-button target="_blank"}
2322

2423
## References
2524

@@ -43,11 +42,11 @@ spec:
4342
version: v1
4443
spec:
4544
containers:
46-
- name: nginx
47-
image: bitnami/nginx
48-
ports:
49-
- containerPort: 8080
50-
name: http
45+
- name: nginx
46+
image: bitnami/nginx
47+
ports:
48+
- containerPort: 8080
49+
name: http
5150
---
5251
apiVersion: v1
5352
kind: Service
@@ -61,6 +60,7 @@ spec:
6160
port: 80
6261
targetPort: http
6362
```
63+
6464
=== "OpenShift"
6565
6666
```Bash title="Get Logs"
@@ -84,6 +84,7 @@ spec:
8484
```
8585

8686
```
87+
8788
```
8889
8990
=== "OpenShift"
@@ -124,7 +125,7 @@ spec:
124125
125126
## Activities
126127
127-
| Task | Description | Link |
128-
| --------------------------------| ------------------ |:----------- |
129-
| *** Try It Yourself *** | | |
130-
| Creating Services | Create two services with certain requirements. | [Setting up Services](../../labs/kubernetes/lab8/index.md) |
128+
| Task | Description | Link |
129+
| --------------------- | ---------------------------------------------- | :--------------------------------------------------------- |
130+
| **_Try It Yourself_** | | |
131+
| Creating Services | Create two services with certain requirements. | [Setting up Services](../../labs/kubernetes/lab8/index.md) |

0 commit comments

Comments
 (0)