Skip to content

Commit

Permalink
Deploy interrupt handler in kube-system namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Anne Schuth committed Mar 4, 2019
1 parent d59fade commit b9ef384
Showing 1 changed file with 5 additions and 4 deletions.
Expand Up @@ -3,7 +3,7 @@ kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: spot-interrupt-handler
namespace: default
namespace: kube-system
rules:
- apiGroups:
- ""
Expand Down Expand Up @@ -32,16 +32,17 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: spot-interrupt-handler
namespace: kube-system
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: spot-interrupt-handler
namespace: default
namespace: kube-system
subjects:
- kind: ServiceAccount
name: spot-interrupt-handler
namespace: default
namespace: kube-system
roleRef:
kind: ClusterRole
name: spot-interrupt-handler
Expand All @@ -52,7 +53,7 @@ apiVersion: apps/v1beta2
kind: DaemonSet
metadata:
name: spot-interrupt-handler
namespace: default
namespace: kube-system
spec:
selector:
matchLabels:
Expand Down

0 comments on commit b9ef384

Please sign in to comment.