You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
729 B

  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4. name: netchecker-server
  5. labels:
  6. app: netchecker-server
  7. namespace: {{ netcheck_namespace }}
  8. spec:
  9. containers:
  10. - name: netchecker-server
  11. image: "{{ server_img }}"
  12. env:
  13. imagePullPolicy: {{ k8s_image_pull_policy }}
  14. resources:
  15. limits:
  16. cpu: {{ netchecker_server_cpu_limit }}
  17. memory: {{ netchecker_server_memory_limit }}
  18. requests:
  19. cpu: {{ netchecker_server_cpu_requests }}
  20. memory: {{ netchecker_server_memory_requests }}
  21. ports:
  22. - containerPort: 8081
  23. hostPort: 8081
  24. args:
  25. - "-v=5"
  26. - "-logtostderr"
  27. - "-kubeproxyinit"
  28. - "-endpoint=0.0.0.0:8081"