DevOps tutorials| Exposing an External IP Address to Access an Application in a Cluster | Kubernetes

Опубликовано: 01 Октябрь 2024
на канале: CLOUD LEARN HUB
412
8

In this Tutorial Lets see how to Using/ Exposing a port of pod in kubernetes.

Sample yaml file: apiVersion: v1
kind: Pod
metadata:
name: webnginx
labels:
use: demo
spec:
containers:
- name: nginx
image: nginx
ports:
- name: webaccess
containerPort: 80
protocol: TCP