Add support for different tags for netcheck containers
Replace 'netcheck_tag' with 'netcheck_version' and add additional 'netcheck_server_tag' and 'netcheck_agent_tag' config options to provide ability to use different tags for server and agent containers.
This commit is contained in:
parent
40407930d5
commit
883ba7aa90
2 changed files with 7 additions and 5 deletions
|
@ -59,9 +59,11 @@ hyperkube_image_repo: "quay.io/coreos/hyperkube"
|
||||||
hyperkube_image_tag: "{{ kube_version }}_coreos.0"
|
hyperkube_image_tag: "{{ kube_version }}_coreos.0"
|
||||||
pod_infra_image_repo: "gcr.io/google_containers/pause-amd64"
|
pod_infra_image_repo: "gcr.io/google_containers/pause-amd64"
|
||||||
pod_infra_image_tag: "{{ pod_infra_version }}"
|
pod_infra_image_tag: "{{ pod_infra_version }}"
|
||||||
netcheck_tag: "v1.0"
|
netcheck_version: "v1.0"
|
||||||
netcheck_agent_img_repo: "quay.io/l23network/k8s-netchecker-agent"
|
netcheck_agent_img_repo: "quay.io/l23network/k8s-netchecker-agent"
|
||||||
|
netcheck_agent_tag: "{{ netcheck_version }}"
|
||||||
netcheck_server_img_repo: "quay.io/l23network/k8s-netchecker-server"
|
netcheck_server_img_repo: "quay.io/l23network/k8s-netchecker-server"
|
||||||
|
netcheck_server_tag: "{{ netcheck_version }}"
|
||||||
weave_kube_image_repo: "weaveworks/weave-kube"
|
weave_kube_image_repo: "weaveworks/weave-kube"
|
||||||
weave_kube_image_tag: "{{ weave_version }}"
|
weave_kube_image_tag: "{{ weave_version }}"
|
||||||
weave_npc_image_repo: "weaveworks/weave-npc"
|
weave_npc_image_repo: "weaveworks/weave-npc"
|
||||||
|
@ -101,13 +103,13 @@ downloads:
|
||||||
netcheck_server:
|
netcheck_server:
|
||||||
container: true
|
container: true
|
||||||
repo: "{{ netcheck_server_img_repo }}"
|
repo: "{{ netcheck_server_img_repo }}"
|
||||||
tag: "{{ netcheck_tag }}"
|
tag: "{{ netcheck_server_tag }}"
|
||||||
sha256: "{{ netcheck_server_digest_checksum|default(None) }}"
|
sha256: "{{ netcheck_server_digest_checksum|default(None) }}"
|
||||||
enabled: "{{ deploy_netchecker|bool }}"
|
enabled: "{{ deploy_netchecker|bool }}"
|
||||||
netcheck_agent:
|
netcheck_agent:
|
||||||
container: true
|
container: true
|
||||||
repo: "{{ netcheck_agent_img_repo }}"
|
repo: "{{ netcheck_agent_img_repo }}"
|
||||||
tag: "{{ netcheck_tag }}"
|
tag: "{{ netcheck_agent_tag }}"
|
||||||
sha256: "{{ netcheck_agent_digest_checksum|default(None) }}"
|
sha256: "{{ netcheck_agent_digest_checksum|default(None) }}"
|
||||||
enabled: "{{ deploy_netchecker|bool }}"
|
enabled: "{{ deploy_netchecker|bool }}"
|
||||||
etcd:
|
etcd:
|
||||||
|
|
|
@ -24,8 +24,8 @@ deploy_netchecker: false
|
||||||
netchecker_port: 31081
|
netchecker_port: 31081
|
||||||
agent_report_interval: 15
|
agent_report_interval: 15
|
||||||
netcheck_namespace: default
|
netcheck_namespace: default
|
||||||
agent_img: "{{ netcheck_agent_img_repo }}:{{ netcheck_tag }}"
|
agent_img: "{{ netcheck_agent_img_repo }}:{{ netcheck_agent_tag }}"
|
||||||
server_img: "{{ netcheck_server_img_repo }}:{{ netcheck_tag }}"
|
server_img: "{{ netcheck_server_img_repo }}:{{ netcheck_server_tag }}"
|
||||||
|
|
||||||
# Limits for netchecker apps
|
# Limits for netchecker apps
|
||||||
netchecker_agent_cpu_limit: 30m
|
netchecker_agent_cpu_limit: 30m
|
||||||
|
|
Loading…
Reference in a new issue