@@ -0,0 +1,30 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: infrastructure-example
|
||||
cluster: clank-prod
|
||||
name: infrastructure-example
|
||||
namespace: prod
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: infrastructure-example
|
||||
cluster: clank-prod
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: infrastructure-example
|
||||
cluster: clank-prod
|
||||
spec:
|
||||
containers:
|
||||
- image: infrastructure-example:something
|
||||
name: infrastructure-example
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
name: external_http
|
||||
- containerPort: 3001
|
||||
name: internal_http
|
||||
- containerPort: 3002
|
||||
name: internal_grpc
|
Reference in New Issue
Block a user