diff --git a/reportingSystem/superset/kubernetes/superset-deployment.yml b/reportingSystem/superset/kubernetes/superset-deployment.yml new file mode 100644 index 0000000..5f3fd16 --- /dev/null +++ b/reportingSystem/superset/kubernetes/superset-deployment.yml @@ -0,0 +1,33 @@ +kind: Deployment + +apiVersion: apps/v1 + +metadata: + name: supersetdeployment + labels: + environment: prod + app: superset + annotations: + kubernetes.io/autoupdate-spec: "work for superset 4.0.1" # need to change in every deployment +spec: + replicas: 2 + minReadySeconds: 30 + strategy: + rollingUpdate: + maxSurge: 1 + maxUnavailable: 1 + type: RollingUpdate + selector: + matchLabels: + environment: prod + app: superset + template: + metadata: + name: supersetpod + labels: + environment: prod + app: superset + spec: + containers: + - name: supersetcontainer + image: vedfordocker/superset:4.0.1 \ No newline at end of file