Commit 67e86f0a authored by zhangdongdong's avatar zhangdongdong

Add new file

parent ff9742de
apiVersion: apps/v1
kind: Deployment
metadata:
name: {APP_NAME}
namespace: longjingshan-dev
labels:
app: {APP_NAME}
spec:
replicas: 1
selector:
matchLabels:
app: {APP_NAME}
template:
metadata:
labels:
app: {APP_NAME}
annotations:
armsPilotAutoEnable: "on"
armsPilotCreateAppName: "{APP_NAME}"
spec:
containers:
- name: {APP_NAME}
image: {IMAGE}
imagePullPolicy: "Always"
ports:
- containerPort: 8080
readinessProbe:
httpGet:
scheme: HTTP
path: /actuator/health
port: 1024
initialDelaySeconds: 10
periodSeconds: 5
imagePullSecrets:
- name: kp-schbrain
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