Skip to content

Instantly share code, notes, and snippets.

@Senhaji-Rhazi-Hamza
Created April 17, 2022 11:45
Show Gist options
  • Select an option

  • Save Senhaji-Rhazi-Hamza/7f20eb83ce80dc1bfd1529f17decd2c5 to your computer and use it in GitHub Desktop.

Select an option

Save Senhaji-Rhazi-Hamza/7f20eb83ce80dc1bfd1529f17decd2c5 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: ms-sum
name: ms-sum
spec:
replicas: 1
selector:
matchLabels:
app: ms-sum
strategy: {}
template:
metadata:
labels:
app: ms-sum
spec:
containers:
- args:
- ms_service_sum
image: mskube
name: ms-sum
ports:
- containerPort: 8002
imagePullPolicy: Never
envFrom:
- configMapRef:
name: envs-config
resources: {}
status: {}
---
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app: ms-sum
name: svc-sum
spec:
ports:
- port: 8002
protocol: TCP
targetPort: 8002
selector:
app: ms-sum
type: ClusterIP
status:
loadBalancer: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment