This repository is currently being migrated. It's locked while the migration is in progress.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
236 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
channels/packages/node-manager/0.0.4/clusterrole-storageos-node-manager.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app: storageos | ||
app.kubernetes.io/component: node-manager | ||
name: storageos:node-manager | ||
rules: | ||
- apiGroups: | ||
- api.storageos.com | ||
resources: | ||
- nodes | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- api.storageos.com | ||
resources: | ||
- volumes | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- storageos.com | ||
resources: | ||
- storageosclusters | ||
verbs: | ||
- get | ||
- list | ||
- watch |
21 changes: 21 additions & 0 deletions
21
channels/packages/node-manager/0.0.4/clusterrole-storageos-proxy-node-manager.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
labels: | ||
app: storageos | ||
app.kubernetes.io/component: node-manager | ||
name: storageos:proxy:node-manager | ||
rules: | ||
- apiGroups: | ||
- authentication.k8s.io | ||
resources: | ||
- tokenreviews | ||
verbs: | ||
- create | ||
- apiGroups: | ||
- authorization.k8s.io | ||
resources: | ||
- subjectaccessreviews | ||
verbs: | ||
- create |
16 changes: 16 additions & 0 deletions
16
channels/packages/node-manager/0.0.4/clusterrolebinding-storageos-node-manager.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
labels: | ||
app: storageos | ||
app.kubernetes.io/component: node-manager | ||
name: storageos:node-manager | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: storageos:node-manager | ||
subjects: | ||
- kind: ServiceAccount | ||
name: storageos-node-manager | ||
namespace: storageos |
16 changes: 16 additions & 0 deletions
16
channels/packages/node-manager/0.0.4/clusterrolebinding-storageos-proxy-node-manager.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
labels: | ||
app: storageos | ||
app.kubernetes.io/component: node-manager | ||
name: storageos:proxy:node-manager | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: storageos:proxy:node-manager | ||
subjects: | ||
- kind: ServiceAccount | ||
name: storageos-node-manager | ||
namespace: node-manager-system |
23 changes: 23 additions & 0 deletions
23
channels/packages/node-manager/0.0.4/configmap-storageos-node-manager.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
apiVersion: v1 | ||
data: | ||
node_manager_config.yaml: | | ||
apiVersion: controller-runtime.sigs.k8s.io/v1alpha1 | ||
kind: ControllerManagerConfig | ||
health: | ||
healthProbeBindAddress: :8081 | ||
metrics: | ||
bindAddress: 127.0.0.1:8080 | ||
webhook: | ||
port: 9443 | ||
leaderElection: | ||
leaderElect: true | ||
resourceNamespace: storageos | ||
resourceName: storageos-node-manager | ||
kind: ConfigMap | ||
metadata: | ||
labels: | ||
app: storageos | ||
app.kubernetes.io/component: node-manager | ||
name: storageos-node-manager | ||
namespace: storageos |
101 changes: 101 additions & 0 deletions
101
channels/packages/node-manager/0.0.4/deployment-storageos-node-manager.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
|
||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
app: storageos | ||
app.kubernetes.io/component: node-manager | ||
control-plane: storageos-node-manager | ||
name: storageos-node-manager | ||
namespace: storageos | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: storageos | ||
app.kubernetes.io/component: node-manager | ||
control-plane: storageos-node-manager | ||
strategy: | ||
rollingUpdate: | ||
maxSurge: 1 | ||
maxUnavailable: 1 | ||
type: RollingUpdate | ||
template: | ||
metadata: | ||
labels: | ||
app: storageos | ||
app.kubernetes.io/component: node-manager | ||
control-plane: storageos-node-manager | ||
spec: | ||
affinity: | ||
podAffinity: | ||
requiredDuringSchedulingIgnoredDuringExecution: | ||
- labelSelector: | ||
matchLabels: | ||
app: storageos | ||
app.kubernetes.io/component: control-plane | ||
topologyKey: kubernetes.io/hostname | ||
podAntiAffinity: | ||
requiredDuringSchedulingIgnoredDuringExecution: | ||
- labelSelector: | ||
matchLabels: | ||
app: storageos | ||
app.kubernetes.io/component: node-manager | ||
topologyKey: kubernetes.io/hostname | ||
containers: | ||
- args: | ||
- --config=node_manager_config.yaml | ||
command: | ||
- /node-manager | ||
image: controller:latest | ||
imagePullPolicy: IfNotPresent | ||
name: manager | ||
securityContext: | ||
allowPrivilegeEscalation: false | ||
volumeMounts: | ||
- mountPath: /node_manager_config.yaml | ||
name: storageos-node-manager | ||
subPath: node_manager_config.yaml | ||
- args: | ||
- --secure-listen-address=0.0.0.0:8443 | ||
- --upstream=http://127.0.0.1:8080/ | ||
- --logtostderr=true | ||
- --v=10 | ||
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0 | ||
name: kube-rbac-proxy | ||
ports: | ||
- containerPort: 8443 | ||
name: https | ||
priorityClassName: system-cluster-critical | ||
restartPolicy: Always | ||
securityContext: | ||
runAsUser: 65532 | ||
serviceAccountName: storageos-node-manager | ||
terminationGracePeriodSeconds: 30 | ||
tolerations: | ||
- key: node.kubernetes.io/disk-pressure | ||
operator: Exists | ||
- key: node.kubernetes.io/memory-pressure | ||
operator: Exists | ||
- key: node.kubernetes.io/network-unavailable | ||
operator: Exists | ||
- key: node.kubernetes.io/not-ready | ||
operator: Exists | ||
- key: node.kubernetes.io/pid-pressure | ||
operator: Exists | ||
- key: node.kubernetes.io/unreachable | ||
operator: Exists | ||
- key: node.kubernetes.io/unschedulable | ||
operator: Exists | ||
topologySpreadConstraints: | ||
- labelSelector: | ||
matchLabels: | ||
app: storageos | ||
app.kubernetes.io/component: node-manager | ||
maxSkew: 1 | ||
topologyKey: kubernetes.io/hostname | ||
whenUnsatisfiable: DoNotSchedule | ||
volumes: | ||
- configMap: | ||
name: storageos-node-manager | ||
name: storageos-node-manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
resources: | ||
- serviceaccount-storageos-node-manager.yaml | ||
- clusterrole-storageos-node-manager.yaml | ||
- clusterrole-storageos-proxy-node-manager.yaml | ||
- clusterrolebinding-storageos-node-manager.yaml | ||
- clusterrolebinding-storageos-proxy-node-manager.yaml | ||
- configmap-storageos-node-manager.yaml | ||
- deployment-storageos-node-manager.yaml |
9 changes: 9 additions & 0 deletions
9
channels/packages/node-manager/0.0.4/serviceaccount-storageos-node-manager.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
labels: | ||
app: storageos | ||
app.kubernetes.io/component: node-manager | ||
name: storageos-node-manager | ||
namespace: storageos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters