rc.yaml 429 B

12345678910111213141516171819202122
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. labels:
  5. run: hostname
  6. name: hostname
  7. spec:
  8. minReadySeconds: 60
  9. selector:
  10. matchLabels:
  11. run: hostname
  12. template:
  13. metadata:
  14. labels:
  15. run: hostname
  16. spec:
  17. containers:
  18. - image: gcr.io/kubernetes-e2e-test-images/serve-hostname:1.1
  19. imagePullPolicy: IfNotPresent
  20. name: hostname
  21. terminationGracePeriodSeconds: 120