Skip to content

Commit

Permalink
Add component names to labels where appropriate
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Mohr <[email protected]>
  • Loading branch information
rmohr committed Dec 5, 2017
1 parent b95ebf4 commit 56e013e
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions cluster/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ elif [ "$TARGET" = "vagrant-release" ]; then
fi

## Expose common services
$KUBECTL expose deployment haproxy --port 8184 -l 'kubevirt.io=' -n kube-system --external-ip $master_ip
$KUBECTL expose deployment spice-proxy --port 3128 -l 'kubevirt.io=' -n kube-system --external-ip $master_ip
$KUBECTL expose deployment haproxy --port 8184 -l 'kubevirt.io=haproxy' -n kube-system --external-ip $master_ip
$KUBECTL expose deployment spice-proxy --port 3128 -l 'kubevirt.io=spice-proxy' -n kube-system --external-ip $master_ip

# Deploy additional infra for testing
$KUBECTL create -f manifests/testing -R $i
Expand Down
2 changes: 1 addition & 1 deletion manifests/dev/haproxy.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: haproxy
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "haproxy"
spec:
template:
metadata:
Expand Down
2 changes: 1 addition & 1 deletion manifests/dev/libvirt.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: libvirt
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "libvirt"
spec:
template:
metadata:
Expand Down
2 changes: 1 addition & 1 deletion manifests/dev/squid.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: spice-proxy
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "spice-proxy"
spec:
template:
metadata:
Expand Down
4 changes: 2 additions & 2 deletions manifests/dev/virt-api.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: virt-api
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "virt-api"
spec:
ports:
- port: 8183
Expand All @@ -18,7 +18,7 @@ metadata:
name: virt-api
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "virt-api"
spec:
template:
metadata:
Expand Down
4 changes: 2 additions & 2 deletions manifests/dev/virt-controller.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: virt-controller
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "virt-controller"
spec:
ports:
- port: 8182
Expand All @@ -18,7 +18,7 @@ metadata:
name: virt-controller
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "virt-controller"
spec:
replicas: 2
template:
Expand Down
2 changes: 1 addition & 1 deletion manifests/dev/virt-handler.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: virt-handler
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "virt-handler"
spec:
template:
metadata:
Expand Down
12 changes: 6 additions & 6 deletions manifests/release/kubevirt.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ metadata:
name: haproxy
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "haproxy"
spec:
template:
metadata:
Expand Down Expand Up @@ -187,7 +187,7 @@ metadata:
name: virt-api
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "virt-api"
spec:
ports:
- port: 8183
Expand All @@ -201,7 +201,7 @@ metadata:
name: virt-api
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "virt-api"
spec:
template:
metadata:
Expand Down Expand Up @@ -233,7 +233,7 @@ metadata:
name: virt-controller
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "virt-controller"
spec:
replicas: 2
template:
Expand Down Expand Up @@ -281,7 +281,7 @@ metadata:
name: virt-handler
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "virt-handler"
spec:
template:
metadata:
Expand Down Expand Up @@ -333,7 +333,7 @@ metadata:
name: libvirt
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "libvirt"
spec:
template:
metadata:
Expand Down
2 changes: 1 addition & 1 deletion manifests/release/spice-proxy.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: spice-proxy
namespace: kube-system
labels:
kubevirt.io: ""
kubevirt.io: "spice-proxy"
spec:
template:
metadata:
Expand Down

0 comments on commit 56e013e

Please sign in to comment.