Created
December 2, 2019 12:26
-
-
Save Goodsmileduck/dcd3f9df10afc60fda0a8725ad577b25 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
annotations: | |
name: jx-skill | |
namespace: jx-staging | |
spec: | |
selector: | |
matchLabels: | |
app: jx-skill | |
strategy: | |
rollingUpdate: | |
maxSurge: 1 | |
maxUnavailable: 1 | |
type: RollingUpdate | |
template: | |
metadata: | |
labels: | |
app: jx-skill | |
spec: | |
containers: | |
- image: cr.yandex/yandex-id/skill:0.0.1 | |
imagePullPolicy: IfNotPresent | |
name: skill | |
ports: | |
- containerPort: 5000 | |
protocol: TCP | |
resources: | |
limits: | |
cpu: 100m | |
memory: 128Mi | |
requests: | |
cpu: 100m | |
memory: 128Mi | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
terminationGracePeriodSeconds: 30 | |
imagePullSecrets: | |
- name: cr.yandex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment