deployment.yaml

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: activitiapp
namespace: default
spec:
replicas: 2
template:
metadata:
labels:
app: activiti-app
spec:
containers:
- name: activitiapp
image: activitiapp:1.0
ports:
- containerPort: 8080

你可能感兴趣的:(deployment.yaml)