Commit 07ed7d64 authored by priyaranjan.dr's avatar priyaranjan.dr

Add new file

parent f653933c
Pipeline #12309 failed with stage
in 1 second
apiVersion: apps/v1
kind: Deployment
metadata:
name: appyaml
spec:
selector:
matchLabels:
app: appyaml
template:
metadata:
labels:
app: appyaml
spec:
containers:
- name: appyaml
image: myapp:v1
ports:
- name: port5001
containerPort: 5000
---
apiVersion: v1
kind: Service
metadata:
name: appyaml
spec:
type: NodePort
selector:
app: appyaml
ports:
- name: port5001
nodePort: 30335
protocol: TCP
port: 5000
targetPort: 5000
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment