Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COR-2215: Upgrade libraries #783

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kangj-pluto
Copy link
Contributor

  • com.datadoghq
    • dd-java-agent (1.42.1 => 1.42.2)
  • io.flow
    • lib-event-sync-play28 (0.6.69 => 0.6.71)
    • lib-usage-play28 (0.2.59 => 0.2.60)
  • org.projectlombok
    • lombok (1.18.34 => 1.18.36)
  • org.webjars
    • font-awesome (6.5.2 => 6.6.0)

@flow-tech
Copy link
Contributor

helm diff output for dependency-api:
production, dependency, Service (v1) has changed:
  # Source: flow-generic/templates/service.yaml
  apiVersion: v1
  kind: Service
  metadata:
    name: dependency
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-api
      app: dependency-api
  spec:
    ports:
      - port: 80
        targetPort: http
        protocol: TCP
        name: http
    selector:
      app.kubernetes.io/name: dependency-api
      app.kubernetes.io/instance: dependency-api
production, dependency-api-live, Deployment (apps) has changed:
  # Source: flow-generic/templates/deployment.yaml
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: dependency-api-live
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-api
      app.kubernetes.io/stage: live
      app: dependency-api
      tags.datadoghq.com/service: dependency-api
      tags.datadoghq.com/env: live
      tags.datadoghq.com/version: 0.9.96
      flow.io/version: 0.9.96
      flow.io/team: foundation
  spec:
    replicas: 2
    
    selector:
      matchLabels:
        app.kubernetes.io/name: dependency-api
        app.kubernetes.io/instance: dependency-api
        app.kubernetes.io/stage: live
    template:
      metadata:
        labels:
          app.kubernetes.io/name: dependency-api
          app.kubernetes.io/instance: dependency-api
          app.kubernetes.io/stage: live
          app: dependency-api
          tags.datadoghq.com/service: dependency-api
          tags.datadoghq.com/env: live
          tags.datadoghq.com/version: 0.9.96
          flow.io/version: 0.9.96
          flow.io/team: foundation
        annotations:
          iam.amazonaws.com/role: arn:aws:iam::479720515435:role/ecsInstanceRole
          sumologic.com/sourceCategory: dependency-api
          sidecar.istio.io/logLevel: info
          proxy.istio.io/config: '{"terminationDrainDuration": 60s}'
      spec:
        terminationGracePeriodSeconds: 60
        containers:
          - name: dependency-api
            image: "flowcommerce/dependency-api:0.9.96"
            imagePullPolicy: IfNotPresent
            env:
              - name: JAVA_OPTS
                value: "-Xms2100m -Xmx2100m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/dumps/oom.bin -XX:+UseG1GC -XX:+UseStringDeduplication -XX:FlightRecorderOptions=stackdepth=256"
              - name: FLOW_KUBERNETES_NODE_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: spec.nodeName
              - name: FLOW_KUBERNETES_NODE_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.hostIP
              - name: FLOW_KUBERNETES_POD_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.name
              - name: FLOW_KUBERNETES_POD_NAMESPACE
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.namespace
              - name: FLOW_KUBERNETES_POD_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.podIP
              - name: FLOW_KUBERNETES_POD_UID
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.uid
              - name: DD_SERVICE
                value: dependency-api
              - name: DD_ENV
                value: live
              - name: DD_VERSION
                value: 0.9.96
              - name: DD_JMXFETCH_STATSD_HOST
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_DOGSTATSD_URL
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_TRACE_AGENT_URL
                value: 'unix:///var/run/datadog/apm.socket'
              - name: DD_SERVICE_MAPPING
                value: "postgresql:dependency-api-postgresql,java-aws-sdk:dependency-api-aws-sdk"
              - name: DD_TAGS
                value: "team:foundation"
              - name: DD_KUBERNETES_POD_LABELS_AS_TAGS
                value: '{"*": "label_%%label%%"}'
              - name: DD_CONTAINER_ENV_AS_TAGS
                value: '{"FLOW_KUBERNETES_POD_NAME":"env_flow_kubernetes_pod_name","FLOW_KUBERNETES_POD_NAMESPACE":"env_flow_kubernetes_pod_namespace"}'
            args: ["production"]
            ports:
              - name: http
                containerPort: 9000
                protocol: TCP
            volumeMounts:
              - name: dsdsocket
                mountPath: /var/run/datadog
              - name: heap-dumps
                mountPath: /dumps
            startupProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 30
              periodSeconds: 10
            livenessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 6
              periodSeconds: 10
              timeoutSeconds: 5
            readinessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 1
              periodSeconds: 10
              timeoutSeconds: 1
            resources:
              limits:
                cpu: 1
                memory: 3000Mi
              requests:
                cpu: 0.2
                memory: 3000Mi
              
        nodeSelector:
          karpenter/role: workers
          
        imagePullSecrets:
          - name: flow-docker-hub
          
        topologySpreadConstraints:
          - maxSkew: 1
            topologyKey: topology.kubernetes.io/zone
            whenUnsatisfiable: DoNotSchedule
            labelSelector:
              matchLabels:
                app: dependency-api
        tolerations:
          - effect: NoSchedule
            key: role
            operator: Equal
            value: workers
          
        dnsConfig:
          options:
            - name: ndots
              value: "1"
        volumes:
          - name: dsdsocket
            hostPath:
              path: /var/run/datadog/
              type: DirectoryOrCreate
          - name: heap-dumps
            emptyDir: {}
    strategy:
      type: RollingUpdate
production, dependency-api-live, VirtualService (networking.istio.io) has changed:
  # Source: flow-generic/templates/istio.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: VirtualService
  metadata:
    name: dependency-api-live
    labels:
      app.kubernetes.io/name: dependency-api
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app: dependency-api
  spec:
    hosts:
      - dependency
      - dependency.api.flow.io
    gateways:
      - mesh
      - dependency-flow-io
    http:
    - route:
      - destination:
          host: dependency
          port:
            number: 80
          subset:  live
production, dependency-flow-io, Gateway (networking.istio.io) has changed:
  # Source: flow-generic/templates/ingress-defaults.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: Gateway
  metadata:
    name: dependency-flow-io
    labels:
      app.kubernetes.io/name: dependency-api
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app: dependency-api
    annotations:
      kubernetes.io/ingress.class: "ingressgateway"
      kubernetes.io/ingress.tld: "api.flow.io"
      external-dns.alpha.kubernetes.io/ttl: "120"
      external-dns.alpha.kubernetes.io/target: "alb-prod.api.flow.io"
      external-dns.alpha.kubernetes.io/alias: "true"

  spec:
    selector:
      istio: ingressgateway
    servers:
      - port:
          number: 80
          name: http
          protocol: HTTP2
        hosts:
          - dependency.api.flow.io
        tls:
          httpsRedirect: true
      - port:
          number: 443
          name: https
          protocol: HTTP2
        hosts:
          - dependency.api.flow.io
helm diff output for dependency-www:
production, dependency-www, Service (v1) has changed:
  # Source: flow-generic/templates/service.yaml
  apiVersion: v1
  kind: Service
  metadata:
    name: dependency-www
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-www
      app: dependency-www
  spec:
    ports:
      - port: 80
        targetPort: http
        protocol: TCP
        name: http
    selector:
      app.kubernetes.io/name: dependency-www
      app.kubernetes.io/instance: dependency-www
production, dependency-www-flow-io, Gateway (networking.istio.io) has changed:
  # Source: flow-generic/templates/ingress.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: Gateway
  metadata:
    name: dependency-www-flow-io
    labels:
      app.kubernetes.io/name: dependency-www
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app: dependency-www
    annotations:
      kubernetes.io/ingress.class: "ingressgateway"
      kubernetes.io/ingress.tld: "flow.io"
      external-dns.alpha.kubernetes.io/ttl: "120"
      external-dns.alpha.kubernetes.io/target: "alb-prod.flow.io"
      external-dns.alpha.kubernetes.io/alias: "true"

  spec:
    selector:
      istio: "ingressgateway-flow-io"
    servers:
      - port:
          number: 80
          name: http
          protocol: HTTP2
        hosts:
          - "dependency.flow.io"
        tls:
          httpsRedirect: true
      - port:
          number: 443
          name: https
          protocol: HTTP2
        hosts:
          - "dependency.flow.io"
production, dependency-www-live, Deployment (apps) has changed:
  # Source: flow-generic/templates/deployment.yaml
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: dependency-www-live
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-www
      app.kubernetes.io/stage: live
      app: dependency-www
      tags.datadoghq.com/service: dependency-www
      tags.datadoghq.com/env: live
      tags.datadoghq.com/version: 0.9.96
      flow.io/version: 0.9.96
      flow.io/team: foundation
  spec:
    replicas: 2
    
    selector:
      matchLabels:
        app.kubernetes.io/name: dependency-www
        app.kubernetes.io/instance: dependency-www
        app.kubernetes.io/stage: live
    template:
      metadata:
        labels:
          app.kubernetes.io/name: dependency-www
          app.kubernetes.io/instance: dependency-www
          app.kubernetes.io/stage: live
          app: dependency-www
          tags.datadoghq.com/service: dependency-www
          tags.datadoghq.com/env: live
          tags.datadoghq.com/version: 0.9.96
          flow.io/version: 0.9.96
          flow.io/team: foundation
        annotations:
          iam.amazonaws.com/role: arn:aws:iam::479720515435:role/ecsInstanceRole
          sumologic.com/sourceCategory: dependency-www
          sidecar.istio.io/logLevel: info
          proxy.istio.io/config: '{"terminationDrainDuration": 60s}'
      spec:
        terminationGracePeriodSeconds: 60
        containers:
          - name: dependency-www
            image: "flowcommerce/dependency-www:0.9.96"
            imagePullPolicy: IfNotPresent
            env:
              - name: JAVA_OPTS
                value: "-Xms2100m -Xmx2100m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/dumps/oom.bin -XX:+UseG1GC -XX:+UseStringDeduplication -XX:FlightRecorderOptions=stackdepth=256"
              - name: FLOW_KUBERNETES_NODE_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: spec.nodeName
              - name: FLOW_KUBERNETES_NODE_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.hostIP
              - name: FLOW_KUBERNETES_POD_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.name
              - name: FLOW_KUBERNETES_POD_NAMESPACE
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.namespace
              - name: FLOW_KUBERNETES_POD_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.podIP
              - name: FLOW_KUBERNETES_POD_UID
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.uid
              - name: DD_SERVICE
                value: dependency-www
              - name: DD_ENV
                value: live
              - name: DD_VERSION
                value: 0.9.96
              - name: DD_JMXFETCH_STATSD_HOST
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_DOGSTATSD_URL
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_TRACE_AGENT_URL
                value: 'unix:///var/run/datadog/apm.socket'
              - name: DD_SERVICE_MAPPING
                value: "postgresql:dependency-www-postgresql,java-aws-sdk:dependency-www-aws-sdk"
              - name: DD_TAGS
                value: "team:foundation"
              - name: DD_KUBERNETES_POD_LABELS_AS_TAGS
                value: '{"*": "label_%%label%%"}'
              - name: DD_CONTAINER_ENV_AS_TAGS
                value: '{"FLOW_KUBERNETES_POD_NAME":"env_flow_kubernetes_pod_name","FLOW_KUBERNETES_POD_NAMESPACE":"env_flow_kubernetes_pod_namespace"}'
            args: ["production"]
            ports:
              - name: http
                containerPort: 9000
                protocol: TCP
            volumeMounts:
              - name: dsdsocket
                mountPath: /var/run/datadog
              - name: heap-dumps
                mountPath: /dumps
            startupProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 30
              periodSeconds: 10
            livenessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 6
              periodSeconds: 10
              timeoutSeconds: 5
            readinessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 1
              periodSeconds: 10
              timeoutSeconds: 1
            resources:
              limits:
                cpu: 1
                memory: 2700Mi
              requests:
                cpu: 0.2
                memory: 2700Mi
              
        nodeSelector:
          karpenter/role: workers
          
        imagePullSecrets:
          - name: flow-docker-hub
          
        topologySpreadConstraints:
          - maxSkew: 1
            topologyKey: topology.kubernetes.io/zone
            whenUnsatisfiable: DoNotSchedule
            labelSelector:
              matchLabels:
                app: dependency-www
        tolerations:
          - effect: NoSchedule
            key: role
            operator: Equal
            value: workers
          
        dnsConfig:
          options:
            - name: ndots
              value: "1"
        volumes:
          - name: dsdsocket
            hostPath:
              path: /var/run/datadog/
              type: DirectoryOrCreate
          - name: heap-dumps
            emptyDir: {}
    strategy:
      type: RollingUpdate
production, dependency-www-live, VirtualService (networking.istio.io) has changed:
  # Source: flow-generic/templates/istio.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: VirtualService
  metadata:
    name: dependency-www-live
    labels:
      app.kubernetes.io/name: dependency-www
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app: dependency-www
  spec:
    hosts:
      - dependency-www
      - dependency.flow.io
      
    gateways:
      - mesh
      - dependency-www-flow-io
      
    http:
    - route:
      - destination:
          host: dependency-www
          port:
            number: 80
          subset:  live

3 similar comments
@flow-tech
Copy link
Contributor

helm diff output for dependency-api:
production, dependency, Service (v1) has changed:
  # Source: flow-generic/templates/service.yaml
  apiVersion: v1
  kind: Service
  metadata:
    name: dependency
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-api
      app: dependency-api
  spec:
    ports:
      - port: 80
        targetPort: http
        protocol: TCP
        name: http
    selector:
      app.kubernetes.io/name: dependency-api
      app.kubernetes.io/instance: dependency-api
production, dependency-api-live, Deployment (apps) has changed:
  # Source: flow-generic/templates/deployment.yaml
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: dependency-api-live
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-api
      app.kubernetes.io/stage: live
      app: dependency-api
      tags.datadoghq.com/service: dependency-api
      tags.datadoghq.com/env: live
      tags.datadoghq.com/version: 0.9.96
      flow.io/version: 0.9.96
      flow.io/team: foundation
  spec:
    replicas: 2
    
    selector:
      matchLabels:
        app.kubernetes.io/name: dependency-api
        app.kubernetes.io/instance: dependency-api
        app.kubernetes.io/stage: live
    template:
      metadata:
        labels:
          app.kubernetes.io/name: dependency-api
          app.kubernetes.io/instance: dependency-api
          app.kubernetes.io/stage: live
          app: dependency-api
          tags.datadoghq.com/service: dependency-api
          tags.datadoghq.com/env: live
          tags.datadoghq.com/version: 0.9.96
          flow.io/version: 0.9.96
          flow.io/team: foundation
        annotations:
          iam.amazonaws.com/role: arn:aws:iam::479720515435:role/ecsInstanceRole
          sumologic.com/sourceCategory: dependency-api
          sidecar.istio.io/logLevel: info
          proxy.istio.io/config: '{"terminationDrainDuration": 60s}'
      spec:
        terminationGracePeriodSeconds: 60
        containers:
          - name: dependency-api
            image: "flowcommerce/dependency-api:0.9.96"
            imagePullPolicy: IfNotPresent
            env:
              - name: JAVA_OPTS
                value: "-Xms2100m -Xmx2100m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/dumps/oom.bin -XX:+UseG1GC -XX:+UseStringDeduplication -XX:FlightRecorderOptions=stackdepth=256"
              - name: FLOW_KUBERNETES_NODE_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: spec.nodeName
              - name: FLOW_KUBERNETES_NODE_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.hostIP
              - name: FLOW_KUBERNETES_POD_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.name
              - name: FLOW_KUBERNETES_POD_NAMESPACE
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.namespace
              - name: FLOW_KUBERNETES_POD_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.podIP
              - name: FLOW_KUBERNETES_POD_UID
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.uid
              - name: DD_SERVICE
                value: dependency-api
              - name: DD_ENV
                value: live
              - name: DD_VERSION
                value: 0.9.96
              - name: DD_JMXFETCH_STATSD_HOST
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_DOGSTATSD_URL
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_TRACE_AGENT_URL
                value: 'unix:///var/run/datadog/apm.socket'
              - name: DD_SERVICE_MAPPING
                value: "postgresql:dependency-api-postgresql,java-aws-sdk:dependency-api-aws-sdk"
              - name: DD_TAGS
                value: "team:foundation"
              - name: DD_KUBERNETES_POD_LABELS_AS_TAGS
                value: '{"*": "label_%%label%%"}'
              - name: DD_CONTAINER_ENV_AS_TAGS
                value: '{"FLOW_KUBERNETES_POD_NAME":"env_flow_kubernetes_pod_name","FLOW_KUBERNETES_POD_NAMESPACE":"env_flow_kubernetes_pod_namespace"}'
            args: ["production"]
            ports:
              - name: http
                containerPort: 9000
                protocol: TCP
            volumeMounts:
              - name: dsdsocket
                mountPath: /var/run/datadog
              - name: heap-dumps
                mountPath: /dumps
            startupProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 30
              periodSeconds: 10
            livenessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 6
              periodSeconds: 10
              timeoutSeconds: 5
            readinessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 1
              periodSeconds: 10
              timeoutSeconds: 1
            resources:
              limits:
                cpu: 1
                memory: 3000Mi
              requests:
                cpu: 0.2
                memory: 3000Mi
              
        nodeSelector:
          karpenter/role: workers
          
        imagePullSecrets:
          - name: flow-docker-hub
          
        topologySpreadConstraints:
          - maxSkew: 1
            topologyKey: topology.kubernetes.io/zone
            whenUnsatisfiable: DoNotSchedule
            labelSelector:
              matchLabels:
                app: dependency-api
        tolerations:
          - effect: NoSchedule
            key: role
            operator: Equal
            value: workers
          
        dnsConfig:
          options:
            - name: ndots
              value: "1"
        volumes:
          - name: dsdsocket
            hostPath:
              path: /var/run/datadog/
              type: DirectoryOrCreate
          - name: heap-dumps
            emptyDir: {}
    strategy:
      type: RollingUpdate
production, dependency-api-live, VirtualService (networking.istio.io) has changed:
  # Source: flow-generic/templates/istio.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: VirtualService
  metadata:
    name: dependency-api-live
    labels:
      app.kubernetes.io/name: dependency-api
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app: dependency-api
  spec:
    hosts:
      - dependency
      - dependency.api.flow.io
    gateways:
      - mesh
      - dependency-flow-io
    http:
    - route:
      - destination:
          host: dependency
          port:
            number: 80
          subset:  live
production, dependency-flow-io, Gateway (networking.istio.io) has changed:
  # Source: flow-generic/templates/ingress-defaults.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: Gateway
  metadata:
    name: dependency-flow-io
    labels:
      app.kubernetes.io/name: dependency-api
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app: dependency-api
    annotations:
      kubernetes.io/ingress.class: "ingressgateway"
      kubernetes.io/ingress.tld: "api.flow.io"
      external-dns.alpha.kubernetes.io/ttl: "120"
      external-dns.alpha.kubernetes.io/target: "alb-prod.api.flow.io"
      external-dns.alpha.kubernetes.io/alias: "true"

  spec:
    selector:
      istio: ingressgateway
    servers:
      - port:
          number: 80
          name: http
          protocol: HTTP2
        hosts:
          - dependency.api.flow.io
        tls:
          httpsRedirect: true
      - port:
          number: 443
          name: https
          protocol: HTTP2
        hosts:
          - dependency.api.flow.io
helm diff output for dependency-www:
production, dependency-www, Service (v1) has changed:
  # Source: flow-generic/templates/service.yaml
  apiVersion: v1
  kind: Service
  metadata:
    name: dependency-www
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-www
      app: dependency-www
  spec:
    ports:
      - port: 80
        targetPort: http
        protocol: TCP
        name: http
    selector:
      app.kubernetes.io/name: dependency-www
      app.kubernetes.io/instance: dependency-www
production, dependency-www-flow-io, Gateway (networking.istio.io) has changed:
  # Source: flow-generic/templates/ingress.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: Gateway
  metadata:
    name: dependency-www-flow-io
    labels:
      app.kubernetes.io/name: dependency-www
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app: dependency-www
    annotations:
      kubernetes.io/ingress.class: "ingressgateway"
      kubernetes.io/ingress.tld: "flow.io"
      external-dns.alpha.kubernetes.io/ttl: "120"
      external-dns.alpha.kubernetes.io/target: "alb-prod.flow.io"
      external-dns.alpha.kubernetes.io/alias: "true"

  spec:
    selector:
      istio: "ingressgateway-flow-io"
    servers:
      - port:
          number: 80
          name: http
          protocol: HTTP2
        hosts:
          - "dependency.flow.io"
        tls:
          httpsRedirect: true
      - port:
          number: 443
          name: https
          protocol: HTTP2
        hosts:
          - "dependency.flow.io"
production, dependency-www-live, Deployment (apps) has changed:
  # Source: flow-generic/templates/deployment.yaml
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: dependency-www-live
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-www
      app.kubernetes.io/stage: live
      app: dependency-www
      tags.datadoghq.com/service: dependency-www
      tags.datadoghq.com/env: live
      tags.datadoghq.com/version: 0.9.96
      flow.io/version: 0.9.96
      flow.io/team: foundation
  spec:
    replicas: 2
    
    selector:
      matchLabels:
        app.kubernetes.io/name: dependency-www
        app.kubernetes.io/instance: dependency-www
        app.kubernetes.io/stage: live
    template:
      metadata:
        labels:
          app.kubernetes.io/name: dependency-www
          app.kubernetes.io/instance: dependency-www
          app.kubernetes.io/stage: live
          app: dependency-www
          tags.datadoghq.com/service: dependency-www
          tags.datadoghq.com/env: live
          tags.datadoghq.com/version: 0.9.96
          flow.io/version: 0.9.96
          flow.io/team: foundation
        annotations:
          iam.amazonaws.com/role: arn:aws:iam::479720515435:role/ecsInstanceRole
          sumologic.com/sourceCategory: dependency-www
          sidecar.istio.io/logLevel: info
          proxy.istio.io/config: '{"terminationDrainDuration": 60s}'
      spec:
        terminationGracePeriodSeconds: 60
        containers:
          - name: dependency-www
            image: "flowcommerce/dependency-www:0.9.96"
            imagePullPolicy: IfNotPresent
            env:
              - name: JAVA_OPTS
                value: "-Xms2100m -Xmx2100m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/dumps/oom.bin -XX:+UseG1GC -XX:+UseStringDeduplication -XX:FlightRecorderOptions=stackdepth=256"
              - name: FLOW_KUBERNETES_NODE_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: spec.nodeName
              - name: FLOW_KUBERNETES_NODE_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.hostIP
              - name: FLOW_KUBERNETES_POD_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.name
              - name: FLOW_KUBERNETES_POD_NAMESPACE
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.namespace
              - name: FLOW_KUBERNETES_POD_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.podIP
              - name: FLOW_KUBERNETES_POD_UID
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.uid
              - name: DD_SERVICE
                value: dependency-www
              - name: DD_ENV
                value: live
              - name: DD_VERSION
                value: 0.9.96
              - name: DD_JMXFETCH_STATSD_HOST
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_DOGSTATSD_URL
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_TRACE_AGENT_URL
                value: 'unix:///var/run/datadog/apm.socket'
              - name: DD_SERVICE_MAPPING
                value: "postgresql:dependency-www-postgresql,java-aws-sdk:dependency-www-aws-sdk"
              - name: DD_TAGS
                value: "team:foundation"
              - name: DD_KUBERNETES_POD_LABELS_AS_TAGS
                value: '{"*": "label_%%label%%"}'
              - name: DD_CONTAINER_ENV_AS_TAGS
                value: '{"FLOW_KUBERNETES_POD_NAME":"env_flow_kubernetes_pod_name","FLOW_KUBERNETES_POD_NAMESPACE":"env_flow_kubernetes_pod_namespace"}'
            args: ["production"]
            ports:
              - name: http
                containerPort: 9000
                protocol: TCP
            volumeMounts:
              - name: dsdsocket
                mountPath: /var/run/datadog
              - name: heap-dumps
                mountPath: /dumps
            startupProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 30
              periodSeconds: 10
            livenessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 6
              periodSeconds: 10
              timeoutSeconds: 5
            readinessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 1
              periodSeconds: 10
              timeoutSeconds: 1
            resources:
              limits:
                cpu: 1
                memory: 2700Mi
              requests:
                cpu: 0.2
                memory: 2700Mi
              
        nodeSelector:
          karpenter/role: workers
          
        imagePullSecrets:
          - name: flow-docker-hub
          
        topologySpreadConstraints:
          - maxSkew: 1
            topologyKey: topology.kubernetes.io/zone
            whenUnsatisfiable: DoNotSchedule
            labelSelector:
              matchLabels:
                app: dependency-www
        tolerations:
          - effect: NoSchedule
            key: role
            operator: Equal
            value: workers
          
        dnsConfig:
          options:
            - name: ndots
              value: "1"
        volumes:
          - name: dsdsocket
            hostPath:
              path: /var/run/datadog/
              type: DirectoryOrCreate
          - name: heap-dumps
            emptyDir: {}
    strategy:
      type: RollingUpdate
production, dependency-www-live, VirtualService (networking.istio.io) has changed:
  # Source: flow-generic/templates/istio.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: VirtualService
  metadata:
    name: dependency-www-live
    labels:
      app.kubernetes.io/name: dependency-www
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app: dependency-www
  spec:
    hosts:
      - dependency-www
      - dependency.flow.io
      
    gateways:
      - mesh
      - dependency-www-flow-io
      
    http:
    - route:
      - destination:
          host: dependency-www
          port:
            number: 80
          subset:  live

@flow-tech
Copy link
Contributor

helm diff output for dependency-api:
production, dependency, Service (v1) has changed:
  # Source: flow-generic/templates/service.yaml
  apiVersion: v1
  kind: Service
  metadata:
    name: dependency
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-api
      app: dependency-api
  spec:
    ports:
      - port: 80
        targetPort: http
        protocol: TCP
        name: http
    selector:
      app.kubernetes.io/name: dependency-api
      app.kubernetes.io/instance: dependency-api
production, dependency-api-live, Deployment (apps) has changed:
  # Source: flow-generic/templates/deployment.yaml
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: dependency-api-live
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-api
      app.kubernetes.io/stage: live
      app: dependency-api
      tags.datadoghq.com/service: dependency-api
      tags.datadoghq.com/env: live
      tags.datadoghq.com/version: 0.9.96
      flow.io/version: 0.9.96
      flow.io/team: foundation
  spec:
    replicas: 2
    
    selector:
      matchLabels:
        app.kubernetes.io/name: dependency-api
        app.kubernetes.io/instance: dependency-api
        app.kubernetes.io/stage: live
    template:
      metadata:
        labels:
          app.kubernetes.io/name: dependency-api
          app.kubernetes.io/instance: dependency-api
          app.kubernetes.io/stage: live
          app: dependency-api
          tags.datadoghq.com/service: dependency-api
          tags.datadoghq.com/env: live
          tags.datadoghq.com/version: 0.9.96
          flow.io/version: 0.9.96
          flow.io/team: foundation
        annotations:
          iam.amazonaws.com/role: arn:aws:iam::479720515435:role/ecsInstanceRole
          sumologic.com/sourceCategory: dependency-api
          sidecar.istio.io/logLevel: info
          proxy.istio.io/config: '{"terminationDrainDuration": 60s}'
      spec:
        terminationGracePeriodSeconds: 60
        containers:
          - name: dependency-api
            image: "flowcommerce/dependency-api:0.9.96"
            imagePullPolicy: IfNotPresent
            env:
              - name: JAVA_OPTS
                value: "-Xms2100m -Xmx2100m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/dumps/oom.bin -XX:+UseG1GC -XX:+UseStringDeduplication -XX:FlightRecorderOptions=stackdepth=256"
              - name: FLOW_KUBERNETES_NODE_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: spec.nodeName
              - name: FLOW_KUBERNETES_NODE_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.hostIP
              - name: FLOW_KUBERNETES_POD_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.name
              - name: FLOW_KUBERNETES_POD_NAMESPACE
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.namespace
              - name: FLOW_KUBERNETES_POD_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.podIP
              - name: FLOW_KUBERNETES_POD_UID
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.uid
              - name: DD_SERVICE
                value: dependency-api
              - name: DD_ENV
                value: live
              - name: DD_VERSION
                value: 0.9.96
              - name: DD_JMXFETCH_STATSD_HOST
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_DOGSTATSD_URL
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_TRACE_AGENT_URL
                value: 'unix:///var/run/datadog/apm.socket'
              - name: DD_SERVICE_MAPPING
                value: "postgresql:dependency-api-postgresql,java-aws-sdk:dependency-api-aws-sdk"
              - name: DD_TAGS
                value: "team:foundation"
              - name: DD_KUBERNETES_POD_LABELS_AS_TAGS
                value: '{"*": "label_%%label%%"}'
              - name: DD_CONTAINER_ENV_AS_TAGS
                value: '{"FLOW_KUBERNETES_POD_NAME":"env_flow_kubernetes_pod_name","FLOW_KUBERNETES_POD_NAMESPACE":"env_flow_kubernetes_pod_namespace"}'
            args: ["production"]
            ports:
              - name: http
                containerPort: 9000
                protocol: TCP
            volumeMounts:
              - name: dsdsocket
                mountPath: /var/run/datadog
              - name: heap-dumps
                mountPath: /dumps
            startupProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 30
              periodSeconds: 10
            livenessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 6
              periodSeconds: 10
              timeoutSeconds: 5
            readinessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 1
              periodSeconds: 10
              timeoutSeconds: 1
            resources:
              limits:
                cpu: 1
                memory: 3000Mi
              requests:
                cpu: 0.2
                memory: 3000Mi
              
        nodeSelector:
          karpenter/role: workers
          
        imagePullSecrets:
          - name: flow-docker-hub
          
        topologySpreadConstraints:
          - maxSkew: 1
            topologyKey: topology.kubernetes.io/zone
            whenUnsatisfiable: DoNotSchedule
            labelSelector:
              matchLabels:
                app: dependency-api
        tolerations:
          - effect: NoSchedule
            key: role
            operator: Equal
            value: workers
          
        dnsConfig:
          options:
            - name: ndots
              value: "1"
        volumes:
          - name: dsdsocket
            hostPath:
              path: /var/run/datadog/
              type: DirectoryOrCreate
          - name: heap-dumps
            emptyDir: {}
    strategy:
      type: RollingUpdate
production, dependency-api-live, VirtualService (networking.istio.io) has changed:
  # Source: flow-generic/templates/istio.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: VirtualService
  metadata:
    name: dependency-api-live
    labels:
      app.kubernetes.io/name: dependency-api
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app: dependency-api
  spec:
    hosts:
      - dependency
      - dependency.api.flow.io
    gateways:
      - mesh
      - dependency-flow-io
    http:
    - route:
      - destination:
          host: dependency
          port:
            number: 80
          subset:  live
production, dependency-flow-io, Gateway (networking.istio.io) has changed:
  # Source: flow-generic/templates/ingress-defaults.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: Gateway
  metadata:
    name: dependency-flow-io
    labels:
      app.kubernetes.io/name: dependency-api
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app: dependency-api
    annotations:
      kubernetes.io/ingress.class: "ingressgateway"
      kubernetes.io/ingress.tld: "api.flow.io"
      external-dns.alpha.kubernetes.io/ttl: "120"
      external-dns.alpha.kubernetes.io/target: "alb-prod.api.flow.io"
      external-dns.alpha.kubernetes.io/alias: "true"

  spec:
    selector:
      istio: ingressgateway
    servers:
      - port:
          number: 80
          name: http
          protocol: HTTP2
        hosts:
          - dependency.api.flow.io
        tls:
          httpsRedirect: true
      - port:
          number: 443
          name: https
          protocol: HTTP2
        hosts:
          - dependency.api.flow.io
helm diff output for dependency-www:
production, dependency-www, Service (v1) has changed:
  # Source: flow-generic/templates/service.yaml
  apiVersion: v1
  kind: Service
  metadata:
    name: dependency-www
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-www
      app: dependency-www
  spec:
    ports:
      - port: 80
        targetPort: http
        protocol: TCP
        name: http
    selector:
      app.kubernetes.io/name: dependency-www
      app.kubernetes.io/instance: dependency-www
production, dependency-www-flow-io, Gateway (networking.istio.io) has changed:
  # Source: flow-generic/templates/ingress.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: Gateway
  metadata:
    name: dependency-www-flow-io
    labels:
      app.kubernetes.io/name: dependency-www
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app: dependency-www
    annotations:
      kubernetes.io/ingress.class: "ingressgateway"
      kubernetes.io/ingress.tld: "flow.io"
      external-dns.alpha.kubernetes.io/ttl: "120"
      external-dns.alpha.kubernetes.io/target: "alb-prod.flow.io"
      external-dns.alpha.kubernetes.io/alias: "true"

  spec:
    selector:
      istio: "ingressgateway-flow-io"
    servers:
      - port:
          number: 80
          name: http
          protocol: HTTP2
        hosts:
          - "dependency.flow.io"
        tls:
          httpsRedirect: true
      - port:
          number: 443
          name: https
          protocol: HTTP2
        hosts:
          - "dependency.flow.io"
production, dependency-www-live, Deployment (apps) has changed:
  # Source: flow-generic/templates/deployment.yaml
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: dependency-www-live
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-www
      app.kubernetes.io/stage: live
      app: dependency-www
      tags.datadoghq.com/service: dependency-www
      tags.datadoghq.com/env: live
      tags.datadoghq.com/version: 0.9.96
      flow.io/version: 0.9.96
      flow.io/team: foundation
  spec:
    replicas: 2
    
    selector:
      matchLabels:
        app.kubernetes.io/name: dependency-www
        app.kubernetes.io/instance: dependency-www
        app.kubernetes.io/stage: live
    template:
      metadata:
        labels:
          app.kubernetes.io/name: dependency-www
          app.kubernetes.io/instance: dependency-www
          app.kubernetes.io/stage: live
          app: dependency-www
          tags.datadoghq.com/service: dependency-www
          tags.datadoghq.com/env: live
          tags.datadoghq.com/version: 0.9.96
          flow.io/version: 0.9.96
          flow.io/team: foundation
        annotations:
          iam.amazonaws.com/role: arn:aws:iam::479720515435:role/ecsInstanceRole
          sumologic.com/sourceCategory: dependency-www
          sidecar.istio.io/logLevel: info
          proxy.istio.io/config: '{"terminationDrainDuration": 60s}'
      spec:
        terminationGracePeriodSeconds: 60
        containers:
          - name: dependency-www
            image: "flowcommerce/dependency-www:0.9.96"
            imagePullPolicy: IfNotPresent
            env:
              - name: JAVA_OPTS
                value: "-Xms2100m -Xmx2100m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/dumps/oom.bin -XX:+UseG1GC -XX:+UseStringDeduplication -XX:FlightRecorderOptions=stackdepth=256"
              - name: FLOW_KUBERNETES_NODE_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: spec.nodeName
              - name: FLOW_KUBERNETES_NODE_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.hostIP
              - name: FLOW_KUBERNETES_POD_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.name
              - name: FLOW_KUBERNETES_POD_NAMESPACE
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.namespace
              - name: FLOW_KUBERNETES_POD_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.podIP
              - name: FLOW_KUBERNETES_POD_UID
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.uid
              - name: DD_SERVICE
                value: dependency-www
              - name: DD_ENV
                value: live
              - name: DD_VERSION
                value: 0.9.96
              - name: DD_JMXFETCH_STATSD_HOST
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_DOGSTATSD_URL
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_TRACE_AGENT_URL
                value: 'unix:///var/run/datadog/apm.socket'
              - name: DD_SERVICE_MAPPING
                value: "postgresql:dependency-www-postgresql,java-aws-sdk:dependency-www-aws-sdk"
              - name: DD_TAGS
                value: "team:foundation"
              - name: DD_KUBERNETES_POD_LABELS_AS_TAGS
                value: '{"*": "label_%%label%%"}'
              - name: DD_CONTAINER_ENV_AS_TAGS
                value: '{"FLOW_KUBERNETES_POD_NAME":"env_flow_kubernetes_pod_name","FLOW_KUBERNETES_POD_NAMESPACE":"env_flow_kubernetes_pod_namespace"}'
            args: ["production"]
            ports:
              - name: http
                containerPort: 9000
                protocol: TCP
            volumeMounts:
              - name: dsdsocket
                mountPath: /var/run/datadog
              - name: heap-dumps
                mountPath: /dumps
            startupProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 30
              periodSeconds: 10
            livenessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 6
              periodSeconds: 10
              timeoutSeconds: 5
            readinessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 1
              periodSeconds: 10
              timeoutSeconds: 1
            resources:
              limits:
                cpu: 1
                memory: 2700Mi
              requests:
                cpu: 0.2
                memory: 2700Mi
              
        nodeSelector:
          karpenter/role: workers
          
        imagePullSecrets:
          - name: flow-docker-hub
          
        topologySpreadConstraints:
          - maxSkew: 1
            topologyKey: topology.kubernetes.io/zone
            whenUnsatisfiable: DoNotSchedule
            labelSelector:
              matchLabels:
                app: dependency-www
        tolerations:
          - effect: NoSchedule
            key: role
            operator: Equal
            value: workers
          
        dnsConfig:
          options:
            - name: ndots
              value: "1"
        volumes:
          - name: dsdsocket
            hostPath:
              path: /var/run/datadog/
              type: DirectoryOrCreate
          - name: heap-dumps
            emptyDir: {}
    strategy:
      type: RollingUpdate
production, dependency-www-live, VirtualService (networking.istio.io) has changed:
  # Source: flow-generic/templates/istio.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: VirtualService
  metadata:
    name: dependency-www-live
    labels:
      app.kubernetes.io/name: dependency-www
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app: dependency-www
  spec:
    hosts:
      - dependency-www
      - dependency.flow.io
      
    gateways:
      - mesh
      - dependency-www-flow-io
      
    http:
    - route:
      - destination:
          host: dependency-www
          port:
            number: 80
          subset:  live

@flow-tech
Copy link
Contributor

helm diff output for dependency-api:
production, dependency, Service (v1) has changed:
  # Source: flow-generic/templates/service.yaml
  apiVersion: v1
  kind: Service
  metadata:
    name: dependency
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-api
      app: dependency-api
  spec:
    ports:
      - port: 80
        targetPort: http
        protocol: TCP
        name: http
    selector:
      app.kubernetes.io/name: dependency-api
      app.kubernetes.io/instance: dependency-api
production, dependency-api-live, Deployment (apps) has changed:
  # Source: flow-generic/templates/deployment.yaml
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: dependency-api-live
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-api
      app.kubernetes.io/stage: live
      app: dependency-api
      tags.datadoghq.com/service: dependency-api
      tags.datadoghq.com/env: live
      tags.datadoghq.com/version: 0.9.96
      flow.io/version: 0.9.96
      flow.io/team: foundation
  spec:
    replicas: 2
    
    selector:
      matchLabels:
        app.kubernetes.io/name: dependency-api
        app.kubernetes.io/instance: dependency-api
        app.kubernetes.io/stage: live
    template:
      metadata:
        labels:
          app.kubernetes.io/name: dependency-api
          app.kubernetes.io/instance: dependency-api
          app.kubernetes.io/stage: live
          app: dependency-api
          tags.datadoghq.com/service: dependency-api
          tags.datadoghq.com/env: live
          tags.datadoghq.com/version: 0.9.96
          flow.io/version: 0.9.96
          flow.io/team: foundation
        annotations:
          iam.amazonaws.com/role: arn:aws:iam::479720515435:role/ecsInstanceRole
          sumologic.com/sourceCategory: dependency-api
          sidecar.istio.io/logLevel: info
          proxy.istio.io/config: '{"terminationDrainDuration": 60s}'
      spec:
        terminationGracePeriodSeconds: 60
        containers:
          - name: dependency-api
            image: "flowcommerce/dependency-api:0.9.96"
            imagePullPolicy: IfNotPresent
            env:
              - name: JAVA_OPTS
                value: "-Xms2100m -Xmx2100m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/dumps/oom.bin -XX:+UseG1GC -XX:+UseStringDeduplication -XX:FlightRecorderOptions=stackdepth=256"
              - name: FLOW_KUBERNETES_NODE_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: spec.nodeName
              - name: FLOW_KUBERNETES_NODE_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.hostIP
              - name: FLOW_KUBERNETES_POD_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.name
              - name: FLOW_KUBERNETES_POD_NAMESPACE
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.namespace
              - name: FLOW_KUBERNETES_POD_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.podIP
              - name: FLOW_KUBERNETES_POD_UID
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.uid
              - name: DD_SERVICE
                value: dependency-api
              - name: DD_ENV
                value: live
              - name: DD_VERSION
                value: 0.9.96
              - name: DD_JMXFETCH_STATSD_HOST
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_DOGSTATSD_URL
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_TRACE_AGENT_URL
                value: 'unix:///var/run/datadog/apm.socket'
              - name: DD_SERVICE_MAPPING
                value: "postgresql:dependency-api-postgresql,java-aws-sdk:dependency-api-aws-sdk"
              - name: DD_TAGS
                value: "team:foundation"
              - name: DD_KUBERNETES_POD_LABELS_AS_TAGS
                value: '{"*": "label_%%label%%"}'
              - name: DD_CONTAINER_ENV_AS_TAGS
                value: '{"FLOW_KUBERNETES_POD_NAME":"env_flow_kubernetes_pod_name","FLOW_KUBERNETES_POD_NAMESPACE":"env_flow_kubernetes_pod_namespace"}'
            args: ["production"]
            ports:
              - name: http
                containerPort: 9000
                protocol: TCP
            volumeMounts:
              - name: dsdsocket
                mountPath: /var/run/datadog
              - name: heap-dumps
                mountPath: /dumps
            startupProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 30
              periodSeconds: 10
            livenessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 6
              periodSeconds: 10
              timeoutSeconds: 5
            readinessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 1
              periodSeconds: 10
              timeoutSeconds: 1
            resources:
              limits:
                cpu: 1
                memory: 3000Mi
              requests:
                cpu: 0.2
                memory: 3000Mi
              
        nodeSelector:
          karpenter/role: workers
          
        imagePullSecrets:
          - name: flow-docker-hub
          
        topologySpreadConstraints:
          - maxSkew: 1
            topologyKey: topology.kubernetes.io/zone
            whenUnsatisfiable: DoNotSchedule
            labelSelector:
              matchLabels:
                app: dependency-api
        tolerations:
          - effect: NoSchedule
            key: role
            operator: Equal
            value: workers
          
        dnsConfig:
          options:
            - name: ndots
              value: "1"
        volumes:
          - name: dsdsocket
            hostPath:
              path: /var/run/datadog/
              type: DirectoryOrCreate
          - name: heap-dumps
            emptyDir: {}
    strategy:
      type: RollingUpdate
production, dependency-api-live, VirtualService (networking.istio.io) has changed:
  # Source: flow-generic/templates/istio.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: VirtualService
  metadata:
    name: dependency-api-live
    labels:
      app.kubernetes.io/name: dependency-api
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app: dependency-api
  spec:
    hosts:
      - dependency
      - dependency.api.flow.io
    gateways:
      - mesh
      - dependency-flow-io
    http:
    - route:
      - destination:
          host: dependency
          port:
            number: 80
          subset:  live
production, dependency-flow-io, Gateway (networking.istio.io) has changed:
  # Source: flow-generic/templates/ingress-defaults.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: Gateway
  metadata:
    name: dependency-flow-io
    labels:
      app.kubernetes.io/name: dependency-api
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-api
      app.kubernetes.io/managed-by: Tiller
      app: dependency-api
    annotations:
      kubernetes.io/ingress.class: "ingressgateway"
      kubernetes.io/ingress.tld: "api.flow.io"
      external-dns.alpha.kubernetes.io/ttl: "120"
      external-dns.alpha.kubernetes.io/target: "alb-prod.api.flow.io"
      external-dns.alpha.kubernetes.io/alias: "true"

  spec:
    selector:
      istio: ingressgateway
    servers:
      - port:
          number: 80
          name: http
          protocol: HTTP2
        hosts:
          - dependency.api.flow.io
        tls:
          httpsRedirect: true
      - port:
          number: 443
          name: https
          protocol: HTTP2
        hosts:
          - dependency.api.flow.io
helm diff output for dependency-www:
production, dependency-www, Service (v1) has changed:
  # Source: flow-generic/templates/service.yaml
  apiVersion: v1
  kind: Service
  metadata:
    name: dependency-www
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-www
      app: dependency-www
  spec:
    ports:
      - port: 80
        targetPort: http
        protocol: TCP
        name: http
    selector:
      app.kubernetes.io/name: dependency-www
      app.kubernetes.io/instance: dependency-www
production, dependency-www-flow-io, Gateway (networking.istio.io) has changed:
  # Source: flow-generic/templates/ingress.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: Gateway
  metadata:
    name: dependency-www-flow-io
    labels:
      app.kubernetes.io/name: dependency-www
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app: dependency-www
    annotations:
      kubernetes.io/ingress.class: "ingressgateway"
      kubernetes.io/ingress.tld: "flow.io"
      external-dns.alpha.kubernetes.io/ttl: "120"
      external-dns.alpha.kubernetes.io/target: "alb-prod.flow.io"
      external-dns.alpha.kubernetes.io/alias: "true"

  spec:
    selector:
      istio: "ingressgateway-flow-io"
    servers:
      - port:
          number: 80
          name: http
          protocol: HTTP2
        hosts:
          - "dependency.flow.io"
        tls:
          httpsRedirect: true
      - port:
          number: 443
          name: https
          protocol: HTTP2
        hosts:
          - "dependency.flow.io"
production, dependency-www-live, Deployment (apps) has changed:
  # Source: flow-generic/templates/deployment.yaml
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: dependency-www-live
    labels:
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app.kubernetes.io/name: dependency-www
      app.kubernetes.io/stage: live
      app: dependency-www
      tags.datadoghq.com/service: dependency-www
      tags.datadoghq.com/env: live
      tags.datadoghq.com/version: 0.9.96
      flow.io/version: 0.9.96
      flow.io/team: foundation
  spec:
    replicas: 2
    
    selector:
      matchLabels:
        app.kubernetes.io/name: dependency-www
        app.kubernetes.io/instance: dependency-www
        app.kubernetes.io/stage: live
    template:
      metadata:
        labels:
          app.kubernetes.io/name: dependency-www
          app.kubernetes.io/instance: dependency-www
          app.kubernetes.io/stage: live
          app: dependency-www
          tags.datadoghq.com/service: dependency-www
          tags.datadoghq.com/env: live
          tags.datadoghq.com/version: 0.9.96
          flow.io/version: 0.9.96
          flow.io/team: foundation
        annotations:
          iam.amazonaws.com/role: arn:aws:iam::479720515435:role/ecsInstanceRole
          sumologic.com/sourceCategory: dependency-www
          sidecar.istio.io/logLevel: info
          proxy.istio.io/config: '{"terminationDrainDuration": 60s}'
      spec:
        terminationGracePeriodSeconds: 60
        containers:
          - name: dependency-www
            image: "flowcommerce/dependency-www:0.9.96"
            imagePullPolicy: IfNotPresent
            env:
              - name: JAVA_OPTS
                value: "-Xms2100m -Xmx2100m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/dumps/oom.bin -XX:+UseG1GC -XX:+UseStringDeduplication -XX:FlightRecorderOptions=stackdepth=256"
              - name: FLOW_KUBERNETES_NODE_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: spec.nodeName
              - name: FLOW_KUBERNETES_NODE_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.hostIP
              - name: FLOW_KUBERNETES_POD_NAME
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.name
              - name: FLOW_KUBERNETES_POD_NAMESPACE
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.namespace
              - name: FLOW_KUBERNETES_POD_IP
                valueFrom:
                  fieldRef:
                    fieldPath: status.podIP
              - name: FLOW_KUBERNETES_POD_UID
                valueFrom:
                  fieldRef:
                    fieldPath: metadata.uid
              - name: DD_SERVICE
                value: dependency-www
              - name: DD_ENV
                value: live
              - name: DD_VERSION
                value: 0.9.96
              - name: DD_JMXFETCH_STATSD_HOST
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_DOGSTATSD_URL
                value: 'unix:///var/run/datadog/dsd.socket'
              - name: DD_TRACE_AGENT_URL
                value: 'unix:///var/run/datadog/apm.socket'
              - name: DD_SERVICE_MAPPING
                value: "postgresql:dependency-www-postgresql,java-aws-sdk:dependency-www-aws-sdk"
              - name: DD_TAGS
                value: "team:foundation"
              - name: DD_KUBERNETES_POD_LABELS_AS_TAGS
                value: '{"*": "label_%%label%%"}'
              - name: DD_CONTAINER_ENV_AS_TAGS
                value: '{"FLOW_KUBERNETES_POD_NAME":"env_flow_kubernetes_pod_name","FLOW_KUBERNETES_POD_NAMESPACE":"env_flow_kubernetes_pod_namespace"}'
            args: ["production"]
            ports:
              - name: http
                containerPort: 9000
                protocol: TCP
            volumeMounts:
              - name: dsdsocket
                mountPath: /var/run/datadog
              - name: heap-dumps
                mountPath: /dumps
            startupProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 30
              periodSeconds: 10
            livenessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 6
              periodSeconds: 10
              timeoutSeconds: 5
            readinessProbe:
              httpGet:
                path: /_internal_/healthcheck
                port: http
              failureThreshold: 1
              periodSeconds: 10
              timeoutSeconds: 1
            resources:
              limits:
                cpu: 1
                memory: 2700Mi
              requests:
                cpu: 0.2
                memory: 2700Mi
              
        nodeSelector:
          karpenter/role: workers
          
        imagePullSecrets:
          - name: flow-docker-hub
          
        topologySpreadConstraints:
          - maxSkew: 1
            topologyKey: topology.kubernetes.io/zone
            whenUnsatisfiable: DoNotSchedule
            labelSelector:
              matchLabels:
                app: dependency-www
        tolerations:
          - effect: NoSchedule
            key: role
            operator: Equal
            value: workers
          
        dnsConfig:
          options:
            - name: ndots
              value: "1"
        volumes:
          - name: dsdsocket
            hostPath:
              path: /var/run/datadog/
              type: DirectoryOrCreate
          - name: heap-dumps
            emptyDir: {}
    strategy:
      type: RollingUpdate
production, dependency-www-live, VirtualService (networking.istio.io) has changed:
  # Source: flow-generic/templates/istio.yaml
  apiVersion: networking.istio.io/v1alpha3
  kind: VirtualService
  metadata:
    name: dependency-www-live
    labels:
      app.kubernetes.io/name: dependency-www
-     helm.sh/chart: flow-generic-1.5.58
+     helm.sh/chart: flow-generic-1.5.59
      app.kubernetes.io/instance: dependency-www
      app.kubernetes.io/managed-by: Tiller
      app: dependency-www
  spec:
    hosts:
      - dependency-www
      - dependency.flow.io
      
    gateways:
      - mesh
      - dependency-www-flow-io
      
    http:
    - route:
      - destination:
          host: dependency-www
          port:
            number: 80
          subset:  live

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants