deployment.yaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: kubelet-density-deployment-v3-{{.Iteration}}-{{.Replica}}
  5. spec:
  6. replicas: 3
  7. selector:
  8. matchLabels:
  9. app: kubelet-density-{{.Iteration}}-{{.Replica}}
  10. template:
  11. metadata:
  12. labels:
  13. app: kubelet-density-{{.Iteration}}-{{.Replica}}
  14. label1: label-{{.Iteration}}-{{.Replica}}
  15. label2: label-{{.Iteration}}-{{.Replica}}
  16. label3: label-{{.Iteration}}-{{.Replica}}
  17. label4: label-{{.Iteration}}-{{.Replica}}
  18. label5: label-{{.Iteration}}-{{.Replica}}
  19. label6: label-{{.Iteration}}-{{.Replica}}
  20. label7: label-{{.Iteration}}-{{.Replica}}
  21. label8: label-{{.Iteration}}-{{.Replica}}
  22. label9: label-{{.Iteration}}-{{.Replica}}
  23. label10: label-{{.Iteration}}-{{.Replica}}
  24. label11: label-{{.Iteration}}-{{.Replica}}
  25. label12: label-{{.Iteration}}-{{.Replica}}
  26. label13: label-{{.Iteration}}-{{.Replica}}
  27. label14: label-{{.Iteration}}-{{.Replica}}
  28. label15: label-{{.Iteration}}-{{.Replica}}
  29. label16: label-{{.Iteration}}-{{.Replica}}
  30. label17: label-{{.Iteration}}-{{.Replica}}
  31. label18: label-{{.Iteration}}-{{.Replica}}
  32. label19: label-{{.Iteration}}-{{.Replica}}
  33. label20: label-{{.Iteration}}-{{.Replica}}
  34. label21: label-{{.Iteration}}-{{.Replica}}
  35. label22: label-{{.Iteration}}-{{.Replica}}
  36. label23: label-{{.Iteration}}-{{.Replica}}
  37. label24: label-{{.Iteration}}-{{.Replica}}
  38. label25: label-{{.Iteration}}-{{.Replica}}
  39. label26: label-{{.Iteration}}-{{.Replica}}
  40. label27: label-{{.Iteration}}-{{.Replica}}
  41. label28: label-{{.Iteration}}-{{.Replica}}
  42. label29: label-{{.Iteration}}-{{.Replica}}
  43. label30: label-{{.Iteration}}-{{.Replica}}
  44. spec:
  45. containers:
  46. - name: kubelet-density-1
  47. image: {{.containerImage}}
  48. ports:
  49. - containerPort: 8080
  50. protocol: TCP
  51. imagePullPolicy: IfNotPresent
  52. securityContext:
  53. privileged: false
  54. resources:
  55. requests:
  56. cpu: "1m"
  57. memory: "1Ki"
  58. - name: kubelet-density-2
  59. image: {{.containerImage}}
  60. ports:
  61. - containerPort: 8080
  62. protocol: TCP
  63. imagePullPolicy: IfNotPresent
  64. securityContext:
  65. privileged: false
  66. resources:
  67. requests:
  68. cpu: "1m"
  69. memory: "1Ki"