https://pulumi.com logo
#kubernetes
Title
# kubernetes
l

limited-rainbow-51650

10/06/2020, 12:49 PM
Copy code
~ kubernetes:apps/v1:Deployment: (update)
        [id=deployer-ut11s29w/deployer-activities-k8s-l0dmq9rt]
        [urn=urn:pulumi:development::deployer::kubernetes:apps/v1:Deployment::deployer-activities-k8s]
        [provider=urn:pulumi:development::deployer::pulumi:providers:kubernetes::default_2_6_1::a73e10a4-562a-40e2-9db1-61bb39736827]
      ~ spec: {
          ~ template: {
              ~ spec: {
                  ~ containers: [
                      - [0]: {
                              - args           : [
                              -     [0]: "osimis-deploy-activities"
                                ]
                              - env            : [
                              -     [0]: {
                                      - name : "TEMPORAL_FRONTEND_HOST"
                                      - value: "<redacted>"
                                    }
                                ]
                              - image          : "<redacted>"
                              - imagePullPolicy: "Always"
                              - livenessProbe  : {
                                  - exec               : {
                                      - command: [
                                      -     [0]: "/bin/sh"
                                      -     [1]: "-c"
                                      -     [2]: "ps -ef | grep osimis-deploy-activities"
                                        ]
                                    }
                                  - failureThreshold   : 2
                                  - initialDelaySeconds: 10
                                  - periodSeconds      : 10
                                  - successThreshold   : 1
                                  - timeoutSeconds     : 5
                                }
                              - name           : "activities-worker"
                              - readinessProbe : {
                                  - exec               : {
                                      - command: [
                                      -     [0]: "/bin/sh"
                                      -     [1]: "-c"
                                      -     [2]: "ps -ef | grep osimis-deploy-activities"
                                        ]
                                    }
                                  - failureThreshold   : 6
                                  - initialDelaySeconds: 5
                                  - periodSeconds      : 10
                                  - successThreshold   : 1
                                  - timeoutSeconds     : 5
                                }
                              - resources      : {
                                  - limits  : {
                                      - cpu   : "0.15"
                                      - memory: "120Mi"
                                    }
                                  - requests: {
                                      - cpu   : "0.1"
                                      - memory: "100Mi"
                                    }
                                }
                              - volumeMounts   : [
                              -     [0]: {
                                      - mountPath: "/etc/pulumi-deployer/osimisdockercreds.conf"
                                      - name     : "osimis-docker-hub-credentials"
                                      - subPath  : "osimisdockercredes.conf"
                                    }
                                ]
                            }
                    ]
                }
            }
        }
Resources:
    ~ 1 to update
    8 unchanged
I’m not confident in applying this. What is happening? Context: Pulumi v2.11.2 + Kubernetes provider 2.6.1
Well, eventually nothing bad happened. However, the diff calculation for Kubernetes resources should be improved. It’s not the first time that the diff doesn’t show exactly what will be changed.
b

broad-dog-22463

10/06/2020, 1:42 PM
it's coming!
🎉 2
🍺 1
9 Views