Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

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