blob: dc5195c4809ac6fbd0100d0ffde82fdaab124bb0 [file] [log] [blame]
{%- from "kubernetes/map.jinja" import master with context %}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: netchecker-server
namespace: {{ master.addons.netchecker.namespace }}
spec:
replicas: 1
template:
metadata:
labels:
app: netchecker-server
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "{{ master.addons.netchecker.port }}"
spec:
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
containers:
- name: netchecker-server
image: {{ master.addons.netchecker.server_image }}
ports:
- containerPort: {{ master.addons.netchecker.port }}
args:
- "-v=5"
- "-logtostderr"
- "-kubeproxyinit"
- "-endpoint=0.0.0.0:{{ master.addons.netchecker.port }}"