Verified Commit 2c543b39 authored by Shiyu Han's avatar Shiyu Han

add npm.json

parent 4c741e2d
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": "%APP_NAME%",
"namespace": "biz-%NAMESPACE%"
},
"spec": {
"replicas": %REPLICAS_NUM%,
"selector": {
"matchLabels": {
"xx-app": "%APP_NAME%"
}
},
"template": {
"metadata": {
"labels": {
"xx-app": "%APP_NAME%",
"gitlab-jid": "%ARTIFACT%",
"released-ver": "%RELEASED%"
}
},
"spec": {
"containers": [
{
"image": "%IMAGE_SRC%",
"imagePullPolicy": "Always",
"name": "%APP_NAME%",
"resources": {
"limits": {
"cpu": "200m",
"memory": "64Mi"
},
"requests": {
"cpu": "100m",
"memory": "32Mi"
}
}
}
],
"terminationGracePeriodSeconds": 3,
"nodeSelector": {
"biz.k8s.yunxi.tv/%NAMESPACE%": "enabled"
}
}
}
}
}
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