Skip to content

feat: add post_highlight table to ClickHouse sync

178bd07
Select commit
Loading
Failed to load commit list.
Closed

feat: add post_highlight table to ClickHouse sync #3757

feat: add post_highlight table to ClickHouse sync
178bd07
Select commit
Loading
Failed to load commit list.
Pulumi / api/prod - Update (preview) succeeded Mar 30, 2026 in 17s

Update (preview)

🍹 The Update (preview) for dailydotdev/api/prod was successful.

Visit the Pulumi Service for more information.

Details

Resource Changes

    Name                                                       Type                           Operation
+   vpc-native-api-db-migration-301cf1ce                       kubernetes:batch/v1:Job        create
~   vpc-native-personalized-digest-deployment                  kubernetes:apps/v1:Deployment  update
+-  clickhouse-sync-clickhouse-sync                            kubernetes:apps/v1:Deployment  create-replacement
~   vpc-native-update-current-streak-cron                      kubernetes:batch/v1:CronJob    update
~   vpc-native-temporal-deployment                             kubernetes:apps/v1:Deployment  update
~   vpc-native-user-profile-analytics-clickhouse-cron          kubernetes:batch/v1:CronJob    update
~   vpc-native-private-deployment                              kubernetes:apps/v1:Deployment  update
~   vpc-native-sync-subscription-with-cio-cron                 kubernetes:batch/v1:CronJob    update
-   vpc-native-api-clickhouse-migration-af1d8cf3               kubernetes:batch/v1:Job        delete
~   vpc-native-clean-zombie-user-companies-cron                kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-opportunities-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-calculate-top-readers-cron                      kubernetes:batch/v1:CronJob    update
~   vpc-native-bg-deployment                                   kubernetes:apps/v1:Deployment  update
~   vpc-native-personalized-digest-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-images-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-expired-better-auth-sessions-cron         kubernetes:batch/v1:CronJob    update
~   vpc-native-rotate-daily-quests-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-users-cron                         kubernetes:batch/v1:CronJob    update
~   vpc-native-worker-job-deployment                           kubernetes:apps/v1:Deployment  update
~   vpc-native-channel-highlights-cron                         kubernetes:batch/v1:CronJob    update
~   vpc-native-validate-active-users-cron                      kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-gifted-plus-cron                          kubernetes:batch/v1:CronJob    update
~   vpc-native-rotate-weekly-quests-cron                       kubernetes:batch/v1:CronJob    update
~   vpc-native-generate-search-invites-cron                    kubernetes:batch/v1:CronJob    update
~   vpc-native-update-tag-recommendations-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-update-views-cron                               kubernetes:batch/v1:CronJob    update
~   vpc-native-squad-posts-analytics-refresh-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-channel-digests-cron                            kubernetes:batch/v1:CronJob    update
~   vpc-native-expire-super-agent-trial-cron                   kubernetes:batch/v1:CronJob    update
~   vpc-native-update-tags-str-cron                            kubernetes:batch/v1:CronJob    update
~   vpc-native-deployment                                      kubernetes:apps/v1:Deployment  update
~   vpc-native-update-trending-cron                            kubernetes:batch/v1:CronJob    update
~   vpc-native-post-analytics-clickhouse-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-ws-deployment                                   kubernetes:apps/v1:Deployment  update
+-  clickhouse-sync-clickhouse-sync-config                     kubernetes:core/v1:Secret      create-replacement
~   vpc-native-update-achievement-rarity-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-user-profile-updated-sync-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-channel-highlights-cron                   kubernetes:batch/v1:CronJob    update
-   vpc-native-api-db-migration-af1d8cf3                       kubernetes:batch/v1:Job        delete
~   vpc-native-user-profile-analytics-history-clickhouse-cron  kubernetes:batch/v1:CronJob    update
~   vpc-native-user-posts-analytics-refresh-cron               kubernetes:batch/v1:CronJob    update
~   vpc-native-post-analytics-history-day-clickhouse-cron      kubernetes:batch/v1:CronJob    update
~   vpc-native-update-source-tag-view-cron                     kubernetes:batch/v1:CronJob    update
~   vpc-native-update-highlighted-views-cron                   kubernetes:batch/v1:CronJob    update
~   vpc-native-check-analytics-report-cron                     kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-stale-user-transactions-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-update-source-public-threshold-cron             kubernetes:batch/v1:CronJob    update
~   vpc-native-daily-digest-cron                               kubernetes:batch/v1:CronJob    update
~   vpc-native-hourly-notification-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-generic-referral-reminder-cron                  kubernetes:batch/v1:CronJob    update
+   vpc-native-api-clickhouse-migration-301cf1ce               kubernetes:batch/v1:Job        create

Detailed Diff

View diff
pulumi:pulumi:Stack: (same)
    [urn=urn:pulumi:prod::api::pulumi:pulumi:Stack::api-prod]
    --outputs:--
    redisHost: "10.23.0.187"
warning: failed to get regions list: failed to create compute service: credentials: could not find default credentials. See https://cloud.google.com/docs/authentication/external/set-up-adc for more information
    > pulumi:pulumi:StackReference: (read)
        [urn=urn:pulumi:prod::api::pulumi:pulumi:StackReference::dailydotdev/infra/prod]
        name: "dailydotdev/infra/prod"
    --kubernetes:apps/v1:Deployment: (delete-replaced)
        [urn=urn:pulumi:prod::api::kubernetes:apps/v1:Deployment::clickhouse-sync-clickhouse-sync]
        [provider=urn:pulumi:prod::api::dailydotdev:kubernetes:GkeCluster$pulumi:providers:kubernetes::vpc-native::fcfbd2f7-4f6b-44a5-b398-0533832a829e]
        apiVersion: "apps/v1"
        kind      : "Deployment"
        metadata  : {
            annotations: {
                chekcsum/secret: "d6319ab83cb4ccbd556f8b80d72ff369f89047e262706d48c1e68a12b94edf50"
            }
            labels     : {
                app.kubernetes.io/managed-by   : "pulumi"
                app.kubernetes.io/name         : "clickhouse-sync-clickhouse-sync"
                pulumi-common.daily.dev/version: "2.21.0"
            }
            name       : "clickhouse-sync-clickhouse-sync"
            namespace  : "daily"
        }
        spec      : {
            replicas: 1
            selector: {
                matchLabels: {
                    app.kubernetes.io/name: "clickhouse-sync-clickhouse-sync"
                }
            }
            strategy: {
                type: "Recreate"
            }
            template: {
                metadata: {
                    labels: {
                        app.kubernetes.io/name: "clickhouse-sync-clickhouse-sync"
                    }
                }
                spec    : {
                    containers : [
                        [0]: {
                            command     : [
                                [0]: "java"
                                [1]: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
                                [2]: "-jar"
                                [3]: "/app.jar"
                                [4]: "/config/config.yml"
                                [5]: "com.altinity.clickhouse.[secret].embedded.ClickHouseDebeziumEmbeddedApplication"
                            ]
                            env         : [
                                [0]: {
                                    name : "JDK_JAVA_OPTIONS"
                                    value: "-Xmx3840m -Xms1024m"
                                }
                            ]
                            image       : "gcr.io/daily-ops/clickhouse-sink-docker:6b73adea1357df3e755dfc083c3a89bd2ccc348b"
                            name        : "clickhouse-sink-connector"
                            ports       : [
                                [0]: {
                                    containerPort: 8080
                                    name         : "healthcheck"
                                }
                            ]
                            resources   : {
                                limits  : {
                                    memory: "4Gi"
                                }
                                requests: {
                                    cpu   : "50m"
                                    memory: "512Mi"
                                }
                            }
                            volumeMounts: [
                                [0]: {
                                    mountPath: "/config"
                                    name     : "clickhouse-config"
                                }
                            ]
                        }
                    ]
                    tolerations: [
                        [0]: {
                            effect  : "NoSchedule"
                            key     : "spot"
                            operator: "Equal"
                            value   : "true"
                        }
                        [1]: {
                            effect  : "NoSchedule"
                            key     : "preemptible"
                            operator: "Equal"
                            value   : "true"
                        }
                    ]
                    volumes    : [
                        [0]: {
                            name  : "clickhouse-config"
                            secret: {
                                secretName: "clickhouse-sync-clickhouse-sync-config"
                            }
                        }
                    ]
                }
            }
        }
        --outputs:--
      - apiVersion: "apps/v1"
      - kind      : "Deployment"
      - metadata  : {
          - annotations      : {
              - chekcsum/secret                  : "d6319ab83cb4ccbd556f8b80d72ff369f89047e262706d48c1e68a12b94edf50"
              - deployment.kubernetes.io/revision: "2"
            }
          - creationTimestamp: "2026-01-20T14:55:35Z"
          - generation       : 2
          - labels           : {
              - app.kubernetes.io/managed-by   : "pulumi"
              - app.kubernetes.io/name         : "clickhouse-sync-clickhouse-sync"
              - pulumi-common.daily.dev/version: "2.21.0"
            }
          - managedFields    : [
          -     [0]: {
                  - apiVersion: "apps/v1"
                  - fieldsType: "FieldsV1"
                  - fieldsV1  : {
                      - f:metadata: {
                          - f:annotations: {
                              - f:chekcsum/secret: {}
                            }
                          - f:labels     : {
                              - f:app.kubernetes.io/managed-by   : {}
                              - f:app.kubernetes.io/name         : {}
                              - f:pulumi-common.daily.dev/version: {}
                            }
                        }
                      - f:spec    : {
                          - f:replicas: {}
                          - f:selector: {}
                          - f:strategy: {
                              - f:type: {}
                            }
                          - f:template: {
                              - f:metadata: {
                                  - f:labels: {
                                      - f:app.kubernetes.io/name: {}
                                    }
                                }
                              - f:spec    : {
                                  - f:containers : {
                                      - k:{"name":"clickhouse-sink-connector"}: {
                                          - .             : {}
                                          - f:command     : {}
                                          - f:env         : {
                                              - k:{"name":"JDK_JAVA_OPTIONS"}: {
                                                  - .      : {}
                                                  - f:name : {}
                                                  - f:value: {}
                                                }
                                            }
                                          - f:image       : {}
                                          - f:name        : {}
                                          - f:ports       : {
                                              - k:{"containerPort":8080,"protocol":"TCP"}: {
                                                  - .              : {}
                                                  - f:containerPort: {}
                                                  - f:name         : {}
                                                }
                                            }
                                          - f:resources   : {
                                              - f:limits  : {
                                                  - f:memory: {}
                                                }
                                              - f:requests: {
                                                  - f:cpu   : {}
                                                  - f:memory: {}
                                                }
                                            }
                                          - f:volumeMounts: {
                                              - k:{"mountPath":"/config"}: {
                                                  - .          : {}
                                                  - f:mountPath: {}
                                                  - f:name     : {}
                                                }
                                            }
                                        }
                                    }
                                  - f:tolerations: {}
                                  - f:volumes    : {
                                      - k:{"name":"clickhouse-config"}: {
                                          - .       : {}
                                          - f:name  : {}
                                          - f:secret: {
                                              - f:secretName: {}
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                  - manager   : "pulumi-kubernetes-34d8960d"
                  - operation : "Apply"
                  - time      : "2026-03-11T20:16:47Z"
                }
          -     [1]: {
                  - apiVersion : "apps/v1"
                  - fieldsType : "FieldsV1"
                  - fieldsV1   : {
                      - f:metadata: {
                          - f:annotations: {
                              - f:deployment.kubernetes.io/revision: {}
                            }
                        }
                      - f:status  : {
                          - f:availableReplicas  : {}
                          - f:conditions         : {
                              - .                       : {}
                              - k:{"type":"Available"}  : {
                                  - .                   : {}
                                  - f:lastTransitionTime: {}
                                  - f:lastUpdateTime    : {}
                                  - f:message           : {}
                                  - f:reason            : {}
                                  - f:status            : {}
                                  - f:type              : {}
                                }
                              - k:{"type":"Progressing"}: {
                                  - .                   : {}
                                  - f:lastTransitionTime: {}
                                  - f:lastUpdateTime    : {}
                                  - f:message           : {}
                                  - f:reason            : {}
                                  - f:status            : {}
                                  - f:type              : {}
                                }
                            }
                          - f:observedGeneration : {}
                          - f:readyReplicas      : {}
                          - f:replicas           : {}
                          - f:terminatingReplicas: {}
                          - f:updatedReplicas    : {}
                        }
                    }
                  - manager    : "kube-controller-manager"
                  - operation  : "Update"
                  - subresource: "status"
                  - time       : "2026-03-29T09:25:19Z"
                }
            ]
          - name             : "clickhouse-sync-clickhouse-sync"
          - namespace        : "daily"
          - resourceVersion  : "1774776319366847019"
          - uid              : "6d026664-2948-410f-954d-677801d1eea5"
        }
      - spec      : {
          - progressDeadlineSeconds: 600
          - replicas               : 1
          - revisionHistoryLimit   : 10
          - selector               : {
              - matchLabels: {
                  - app.kubernetes.io/name: "clickhouse-sync-clickhouse-sync"
                }
            }
          - strategy               : {
              - type: "Recreate"
            }
          - template               : {
              - metadata: {
                  - labels: {
                      - app.kubernetes.io/name: "clickhouse-sync-clickhouse-sync"
                    }
                }
              - spec    : {
                  - containers                   : [
                  -     [0]: {
                          - command                 : [
                          -     [0]: "java"
                          -     [1]: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
                          -     [2]: "-jar"
                          -     [3]: "/app.jar"
                          -     [4]: "/config/config.yml"
                          -     [5]: "com.altinity.clickhouse.[secret].embedded.ClickHouseDebeziumEmbeddedApplication"
                            ]
                          - env                     : [
                          -     [0]: {
                                  - name : "JDK_JAVA_OPTIONS"
                                  - value: "-Xmx3840m -Xms1024m"
                                }
                            ]
                          - image                   : "gcr.io/daily-ops/clickhouse-sink-docker:6b73adea1357df3e755dfc083c3a89bd2ccc348b"
                          - imagePullPolicy         : "IfNotPresent"
                          - name                    : "clickhouse-sink-connector"
                          - ports                   : [
                          -     [0]: {
                                  - containerPort: 8080
                                  - name         : "healthcheck"
                                  - protocol     : "TCP"
                                }
                            ]
                          - resources               : {
                              - limits  : {
                                  - memory: "4Gi"
                                }
                              - requests: {
                                  - cpu   : "50m"
                                  - memory: "512Mi"
                                }
                            }
                          - terminationMessagePath  : "/dev/termination-log"
                          - terminationMessagePolicy: "File"
                          - volumeMounts            : [
                          -     [0]: {
                                  - mountPath: "/config"
                                  - name     : "clickhouse-config"
                                }
                            ]
                        }
                    ]
                  - dnsPolicy                    : "ClusterFirst"
                  - restartPolicy                : "Always"
                  - schedulerName                : "default-scheduler"
                  - securityContext              : {}
                  - terminationGracePeriodSeconds: 30
                  - tolerations                  : [
                  -     [0]: {
                          - effect  : "NoSchedule"
                          - key     : "spot"
                          - operator: "Equal"
                          - value   : "true"
                        }
                  -     [1]: {
                          - effect  : "NoSchedule"
                          - key     : "preemptible"
                          - operator: "Equal"
                          - value   : "true"
                        }
                    ]
                  - volumes                      : [
                  -     [0]: {
                          - name  : "clickhouse-config"
                          - secret: {
                              - defaultMode: 420
                              - secretName : "clickhouse-sync-clickhouse-sync-config"
                            }
                        }
                    ]
                }
            }
        }
      - status    : {
          - availableReplicas  : 1
          - conditions         : [
          -     [0]: {
                  - lastTransitionTime: "2026-01-20T14:55:35Z"
                  - lastUpdateTime    : "2026-02-21T12:17:43Z"
                  - message           : "ReplicaSet \"clickhouse-sync-clickhouse-sync-7dd8cbd8c7\" has successfully progressed."
                  - reason            : "NewReplicaSetAvailable"
                  - status            : "True"
                  - type              : "Progressing"
                }
          -     [1]: {
                  - lastTransitionTime: "2026-03-29T09:25:19Z"
                  - lastUpdateTime    : "2026-03-29T09:25:19Z"
                  - message           : "Deployment has minimum availability."
                  - reason            : "MinimumReplicasAvailable"
                  - status            : "True"
                  - type              : "Available"
                }
            ]
          - observedGeneration : 2
          - readyReplicas      : 1
          - replicas           : 1
          - terminatingReplicas: 0
          - updatedReplicas    : 1
        }
    --kubernetes:core/v1:Secret: (delete-replaced)
        [urn=urn:pulumi:prod::api::kubernetes:core/v1:Secret::clickhouse-sync-clickhouse-sync-config]
        [provider=urn:pulumi:prod::api::dailydotdev:kubernetes:GkeCluster$pulumi:providers:kubernetes::vpc-native::fcfbd2f7-4f6b-44a5-b398-0533832a829e]
    +-kubernetes:core/v1:Secret: (replace)
        [urn=urn:pulumi:prod::api::kubernetes:core/v1:Secret::clickhouse-sync-clickhouse-sync-config]
        [provider=urn:pulumi:prod::api::dailydotdev:kubernetes:GkeCluster$pulumi:providers:kubernetes::vpc-native::fcfbd2f7-4f6b-44a5-b398-0533832a829e]
      ~ data: {
        }
    ++kubernetes:core/v1:Secret: (create-replacement)
        [urn=urn:pulumi:prod::api::kubernetes:core/v1:Secret::clickhouse-sync-clickhouse-sync-config]
        [provider=urn:pulumi:prod::api::dailydotdev:kubernetes:GkeCluster$pulumi:providers:kubernetes::vpc-native::fcfbd2f7-4f6b-44a5-b398-0533832a829e]
      ~ data: {
        }
    + kubernetes:batch/v1:Job: (create)
        [urn=urn:pulumi:prod::api::kubernetes:batch/v1:Job::vpc-native-api-clickhouse-migration-301cf1ce]
        [provider=urn:pulumi:prod::api::dailydotdev:kubernetes:GkeCluster$pulumi:providers:kubernetes::vpc-native::fcfbd2f7-4f6b-44a5-b398-0533832a829e]
    + kubernetes:batch/v1:Job: (create)
        [urn=urn:pulumi:prod::api::kubernetes:batch/v1:Job::vpc-native-api-db-migration-301cf1ce]
        [provider=urn:pulumi:prod::api::dailydotdev:kubernetes:GkeCluster$pulumi:providers:kubernetes::vpc-native::fcfbd2f7-4f6b-44a5-b398-0533832a829e]

    +-kubernetes:apps/v1:Deployment: (replace)
        [urn=urn:pulumi:prod::api::kubernetes:apps/v1:Deployment::clickhouse-sync-clickhouse-sync]
        [provider=urn:pulumi:prod::api::dailydotdev:kubernetes:GkeCluster$pulumi:providers:kubernetes::vpc-native::fcfbd2f7-4f6b-44a5-b398-0533832a829e]
        apiVersion: "apps/v1"
        kind      : "Deployment"
        metadata  : {
            annotations: {
                chekcsum/secret: "d6319ab83cb4ccbd556f8b80d72ff369f89047e262706d48c1e68a12b94edf50"
            }
            labels     : {
                app.kubernetes.io/managed-by   : "pulumi"
                app.kubernetes.io/name         : "clickhouse-sync-clickhouse-sync"
                pulumi-common.daily.dev/version: "2.21.0"
            }
            name       : "clickhouse-sync-clickhouse-sync"
            namespace  : "daily"
        }
        spec      : {
            replicas: 1
            selector: {
                matchLabels: {
                    app.kubernetes.io/name: "clickhouse-sync-clickhouse-sync"
                }
            }
            strategy: {
                type: "Recreate"
            }
            template: {
                metadata: {
                    labels: {
                        app.kubernetes.io/name: "clickhouse-sync-clickhouse-sync"
                    }
                }
                spec    : {
                    containers : [
                        [0]: {
                            command     : [
                                [0]: "java"
                                [1]: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
                                [2]: "-jar"
                                [3]: "/app.jar"
                                [4]: "/config/config.yml"
                                [5]: "com.altinity.clickhouse.[secret].embedded.ClickHouseDebeziumEmbeddedApplication"
                            ]
                            env         : [
                                [0]: {
                                    name : "JDK_JAVA_OPTIONS"
                                    value: "-Xmx3840m -Xms1024m"
                                }
                            ]
                            image       : "gcr.io/daily-ops/clickhouse-sink-docker:6b73adea1357df3e755dfc083c3a89bd2ccc348b"
                            name        : "clickhouse-sink-connector"
                            ports       : [
                                [0]: {
                                    containerPort: 8080
                                    name         : "healthcheck"
                                }
                            ]
                            resources   : {
                                limits  : {
                                    memory: "4Gi"
                                }
                                requests: {
                                    cpu   : "50m"
                                    memory: "512Mi"
                                }
                            }
                            volumeMounts: [
                                [0]: {
                                    mountPath: "/config"
                                    name     : "clickhouse-config"
                                }
                            ]
                        }
                    ]
                    tolerations: [
                        [0]: {
                            effect  : "NoSchedule"
                            key     : "spot"
                            operator: "Equal"
                            value   : "true"
                        }
                        [1]: {
                            effect  : "NoSchedule"
                            key     : "preemptible"
                            operator: "Equal"
                            value   : "true"
                        }
                    ]
                    volumes    : [
                        [0]: {
                            name  : "clickhouse-config"
                            secret: {
                                secretName: "clickhouse-sync-clickhouse-sync-config"
                            }
                        }
                    ]
                }
            }
        }
        --outputs:--
      - apiVersion: "apps/v1"
      - kind      : "Deployment"
      - metadata  : {
          - annotations      : {
              - chekcsum/secret                  : "d6319ab83cb4ccbd556f8b80d72ff369f89047e262706d48c1e68a12b94edf50"
              - deployment.kubernetes.io/revision: "2"
            }
          - creationTimestamp: "2026-01-20T14:55:35Z"
          - generation       : 2
          - labels           : {
              - app.kubernetes.io/managed-by   : "pulumi"
              - app.kubernetes.io/name         : "clickhouse-sync-clickhouse-sync"
              - pulumi-common.daily.dev/version: "2.21.0"
            }
          - managedFields    : [
          -     [0]: {
                  - apiVersion: "apps/v1"
                  - fieldsType: "FieldsV1"
                  - fieldsV1  : {
                      - f:metadata: {
                          - f:annotations: {
                              - f:chekcsum/secret: {}
                            }
                          - f:labels     : {
                              - f:app.kubernetes.io/managed-by   : {}
                              - f:app.kubernetes.io/name         : {}
                              - f:pulumi-common.daily.dev/version: {}
                            }
                        }
                      - f:spec    : {
                          - f:replicas: {}
                          - f:selector: {}
                          - f:strategy: {
                              - f:type: {}
                            }
                          - f:template: {
                              - f:metadata: {
                                  - f:labels: {
                                      - f:app.kubernetes.io/name: {}
                                    }
                                }
                              - f:spec    : {
                                  - f:containers : {
                                      - k:{"name":"clickhouse-sink-connector"}: {
                                          - .             : {}
                                          - f:command     : {}
                                          - f:env         : {
                                              - k:{"name":"JDK_JAVA_OPTIONS"}: {
                                                  - .      : {}
                                                  - f:name : {}
                                                  - f:value: {}
                                                }
                                            }
                                          - f:image       : {}
                                          - f:name        : {}
                                          - f:ports       : {
                                              - k:{"containerPort":8080,"protocol":"TCP"}: {
                                                  - .              : {}
                                                  - f:containerPort: {}
                                                  - f:name         : {}
                                                }
                                            }
                                          - f:resources   : {
                                              - f:limits  : {
                                                  - f:memory: {}
                                                }
                                              - f:requests: {
                                                  - f:cpu   : {}
                                                  - f:memory: {}
                                                }
                                            }
                                          - f:volumeMounts: {
                                              - k:{"mountPath":"/config"}: {
                                                  - .          : {}
                                                  - f:mountPath: {}
                                                  - f:name     : {}
                                                }
                                            }
                                        }
                                    }
                                  - f:tolerations: {}
                                  - f:volumes    : {
                                      - k:{"name":"clickhouse-config"}: {
                                          - .       : {}
                                          - f:name  : {}
                                          - f:secret: {
                                              - f:secretName: {}
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                  - manager   : "pulumi-kubernetes-34d8960d"
                  - operation : "Apply"
                  - time      : "2026-03-11T20:16:47Z"
                }
          -     [1]: {
                  - apiVersion : "apps/v1"
                  - fieldsType : "FieldsV1"
                  - fieldsV1   : {
                      - f:metadata: {
                          - f:annotations: {
                              - f:deployment.kubernetes.io/revision: {}
                            }
                        }
                      - f:status  : {
                          - f:availableReplicas  : {}
                          - f:conditions         : {
                              - .                       : {}
                              - k:{"type":"Available"}  : {
                                  - .                   : {}
                                  - f:lastTransitionTime: {}
                                  - f:lastUpdateTime    : {}
                                  - f:message           : {}
                                  - f:reason            : {}
                                  - f:status            : {}
                                  - f:type              : {}
                                }
                              - k:{"type":"Progressing"}: {
                                  - .                   : {}
                                  - f:lastTransitionTime: {}
                                  - f:lastUpdateTime    : {}
                                  - f:message           : {}
                                  - f:reason            : {}
                                  - f:status            : {}
                                  - f:type              : {}
                                }
                            }
                          - f:observedGeneration : {}
                          - f:readyReplicas      : {}
                          - f:replicas           : {}
                          - f:terminatingReplicas: {}
                          - f:updatedReplicas    : {}
                        }
                    }
                  - manager    : "kube-controller-manager"
                  - operation  : "Update"
                  - subresource: "status"
                  - time       : "2026-03-29T09:25:19Z"
                }
            ]
          - name             : "clickhouse-sync-clickhouse-sync"
          - namespace        : "daily"
          - resourceVersion  : "1774776319366847019"
          - uid              : "6d026664-2948-410f-954d-677801d1eea5"
        }
      - spec      : {
          - progressDeadlineSeconds: 600
          - replicas               : 1
          - revisionHistoryLimit   : 10
          - selector               : {
              - matchLabels: {
                  - app.kubernetes.io/name: "clickhouse-sync-clickhouse-sync"
                }
            }
          - strategy               : {
              - type: "Recreate"
            }
          - template               : {
              - metadata: {
                  - labels: {
                      - app.kubernetes.io/name: "clickhouse-sync-clickhouse-sync"
                    }
                }
              - spec    : {
                  - containers                   : [
                  -     [0]: {
                          - command                 : [
                          -     [0]: "java"
                          -     [1]: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
                          -     [2]: "-jar"
                          -     [3]: "/app.jar"
                          -     [4]: "/config/config.yml"
                          -     [5]: "com.altinity.clickhouse.[secret].embedded.ClickHouseDebeziumEmbeddedApplication"
                            ]
                          - env                     : [
                          -     [0]: {
                                  - name : "JDK_JAVA_OPTIONS"
                                  - value: "-Xmx3840m -Xms1024m"
                                }
                            ]
                          - image                   : "gcr.io/daily-ops/clickhouse-sink-docker:6b73adea1357df3e755dfc083c3a89bd2ccc348b"
                          - imagePullPolicy         : "IfNotPresent"
                          - name                    : "clickhouse-sink-connector"
                          - ports                   : [
                          -     [0]: {
                                  - containerPort: 8080
                                  - name         : "healthcheck"
                                  - protocol     : "TCP"
                                }
                            ]
                          - resources               : {
                              - limits  : {
                                  - memory: "4Gi"
                                }
                              - requests: {
                                  - cpu   : "50m"
                                  - memory: "512Mi"
                                }
                            }
                          - terminationMessagePath  : "/dev/termination-log"
                          - terminationMessagePolicy: "File"
                          - volumeMounts            : [
                          -     [0]: {
                                  - mountPath: "/config"
                                  - name     : "clickhouse-config"
                                }
                            ]
                        }
                    ]
                  - dnsPolicy                    : "ClusterFirst"
                  - restartPolicy                : "Always"
                  - schedulerName                : "default-scheduler"
                  - securityContext              : {}
                  - terminationGracePeriodSeconds: 30
                  - tolerations                  : [
                  -     [0]: {
                          - effect  : "NoSchedule"
                          - key     : "spot"
                          - operator: "Equal"
                          - value   : "true"
                        }
                  -     [1]: {
                          - effect  : "NoSchedule"
                          - key     : "preemptible"
                          - operator: "Equal"
                          - value   : "true"
                        }
                    ]
                  - volumes                      : [
                  -     [0]: {
                          - name  : "clickhouse-config"
                          - secret: {
                              - defaultMode: 420
                              - secretName : "clickhouse-sync-clickhouse-sync-config"
                            }
                        }
                    ]
                }
            }
        }
      - status    : {
          - availableReplicas  : 1
          - conditions         : [
          -     [0]: {
                  - lastTransitionTime: "2026-01-20T14:55:35Z"
                  - lastUpdateTime    : "2026-02-21T12:17:43Z"
                  - message           : "ReplicaSet \"clickhouse-sync-clickhouse-sync-7dd8cbd8c7\" has successfully progressed."
                  - reason            : "NewReplicaSetAvailable"
                  - status            : "True"
                  - type              : "Progressing"
                }
          -     [1]: {
                  - lastTransitionTime: "2026-03-29T09:25:19Z"
                  - lastUpdateTime    : "2026-03-29T09:25:19Z"
                  - message           : "Deployment has minimum availability."
                  - reason            : "MinimumReplicasAvailable"
                  - status            : "True"
                  - type              : "Available"
                }
            ]
          - observedGeneration : 2
          - readyReplicas      : 1
          - replicas           : 1
          - terminatingReplicas: 0
          - updatedReplicas    : 1
        }
    ++kubernetes:apps/v1:Deployment: (create-replacement)
        [urn=urn:pulumi:prod::api::kubernetes:apps/v1:Deployment::clickhouse-sync-clickhouse-sync]
        [provider=urn:pulumi:prod::api::dailydotdev:kubernetes:GkeCluster$pulumi:providers:kubernetes::vpc-native::fcfbd2f7-4f6b-44a5-b398-0533832a829e]
        apiVersion: "apps/v1"
        kind      : "Deployment"
        metadata  : {
            annotations: {
                chekcsum/secret: "d6319ab83cb4ccbd556f8b80d72ff369f89047e262706d48c1e68a12b94edf50"
            }
            labels     : {
                app.kubernetes.io/managed-by   : "pulumi"
                app.kubernetes.io/name         : "clickhouse-sync-clickhouse-sync"
                pulumi-common.daily.dev/version: "2.21.0"
            }
            name       : "clickhouse-sync-clickhouse-sync"
            namespace  : "daily"
        }
        spec      : {
            replicas: 1
            selector: {
                matchLabels: {
                    app.kubernetes.io/name: "clickhouse-sync-clickhouse-sync"
                }
            }
            strategy: {
                type: "Recreate"
            }
            template: {
                metadata: {
                    labels: {
                        app.kubernetes.io/name: "clickhouse-sync-clickhouse-sync"
                    }
                }
                spec    : {
                    containers : [
                        [0]: {
                            command     : [
                                [0]: "java"
                                [1]: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
                                [2]: "-jar"
                                [3]: "/app.jar"
                                [4]: "/config/config.yml"
                                [5]: "com.altinity.clickhouse.[secret].embedded.ClickHouseDebeziumEmbeddedApplication"
                            ]
                            env         : [
                                [0]: {
                                    name : "JDK_JAVA_OPTIONS"
                                    value: "-Xmx3840m -Xms1024m"
                                }
                            ]
                            image       : "gcr.io/daily-ops/clickhouse-sink-docker:6b73adea1357df3e755dfc083c3a89bd2ccc348b"
                            name        : "clickhouse-sink-connector"
                            ports       : [
                                [0]: {
                                    containerPort: 8080
                                    name         : "healthcheck"
                                }
                            ]
                            resources   : {
                                limits  : {
                                    memory: "4Gi"
                                }
                                requests: {
                                    cpu   : "50m"
                                    memory: "512Mi"
                                }
                            }
                            volumeMounts: [
                                [0]: {
                                    mountPath: "/config"
                                    name     : "clickhouse-config"
                                }
                            ]
                        }
                    ]
                    tolerations: [
                        [0]: {
                            effect  : "NoSchedule"
                            key     : "spot"
                            operator: "Equal"
                            value   : "true"
                        }
                        [1]: {
                            effect  : "NoSchedule"
                            key     : "preemptible"
                            operator: "Equal"
                            value   : "true"
                        }
                    ]
                    volumes    : [
                        [0]: {
                            name  : "clickhouse-config"
                            secret: {
                                secretName: "clickhouse-sync-clickhouse-sync-config"
                            }
                        }
                    ]
                }
            }
        }

        --outputs:--
      ~ metadata  : {
          ~ annotations      : {
              ~ chekcsum/secret                  : "d6319ab83cb4ccbd556f8b80d72ff369f89047e262706d48c1e68a12b94edf50" => "7f6cd6638ed8a6e825a9ffcf3551c9bcb665e285937acb754ea1ab1fde41afb4"
                deployment.kubernetes.io/revision: "2"
            }
            creationTimestamp: "2026-01-20T14:55:35Z"
          ~ generation       : 2 => 3
            labels           : {
                app.kubernetes.io/managed-by   : "pulumi"
                app.kubernetes.io/name         : "clickhouse-sync-clickhouse-sync"
                pulumi-common.daily.dev/version: "2.21.0"
            }
          ~ managedFields    : [
              ~ [0]: {
                        apiVersion: "apps/v1"
                        fieldsType: "FieldsV1"
                      ~ fieldsV1  : {
                          ~ f:metadata: {
                              - f:annotations: {
                                  - f:chekcsum/secret: {}
                                }
                                f:labels     : {
                                    f:app.kubernetes.io/managed-by   : {}
                                    f:app.kubernetes.io/name         : {}
                                    f:pulumi-common.daily.dev/version: {}
                                }
                            }
                            f:spec    : {
                                f:replicas: {}
                                f:selector: {}
                                f:strategy: {
                                    f:type: {}
                                }
                                f:template: {
                                    f:metadata: {
                                        f:labels: {
                                            f:app.kubernetes.io/name: {}
                                        }
                                    }
                                    f:spec    : {
                                        f:containers : {
                                            k:{"name":"clickhouse-sink-connector"}: {
                                                .             : {}
                                                f:command     : {}
                                                f:env         : {
                                                    k:{"name":"JDK_JAVA_OPTIONS"}: {
                                                        .      : {}
                                                        f:name : {}
                                                        f:value: {}
                                                    }
                                                }
                                                f:image       : {}
                                                f:name        : {}
                                                f:ports       : {
                                                    k:{"containerPort":8080,"protocol":"TCP"}: {
                                                        .              : {}
                                                        f:containerPort: {}
                                                        f:name         : {}
                                                    }
                                                }
                                                f:resources   : {
                                                    f:limits  : {
                                                        f:memory: {}
                                                    }
                                                    f:requests: {
                                                        f:cpu   : {}
                                                        f:memory: {}
                                                    }
                                                }
                                                f:volumeMounts: {
                                                    k:{"mountPath":"/config"}: {
                                                        .          : {}
                                                        f:mountPath: {}
                                                        f:name     : {}
                                                    }
                                                }
                                            }
                                        }
                                        f:tolerations: {}
                                        f:volumes    : {
                                            k:{"name":"clickhouse-config"}: {
                                                .       : {}
                                                f:name  : {}
                                                f:secret: {
                                                    f:secretName: {}
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                        manager   : "pulumi-kubernetes-34d8960d"
                        operation : "Apply"
                        time      : "2026-03-11T20:16:47Z"
                    }
              ~ [1]: {
                        apiVersion : "apps/v1"
                        fieldsType : "FieldsV1"
                      ~ fieldsV1   : {
                          ~ f:metadata: {
                              ~ f:annotations: {
                                  + f:chekcsum/secret                  : {}
                                  - f:deployment.kubernetes.io/revision: {}
                                }
                              + f:labels     : {
                                  + f:app.kubernetes.io/managed-by   : {}
                                  + f:app.kubernetes.io/name         : {}
                                  + f:pulumi-common.daily.dev/version: {}
                                }
                            }
                          + f:spec    : {
                              + f:replicas: {}
                              + f:selector: {}
                              + f:strategy: {
                                  + f:type: {}
                                }
                              + f:template: {
                                  + f:metadata: {
                                      + f:labels: {
                                          + f:app.kubernetes.io/name: {}
                                        }
                                    }
                                  + f:spec    : {
                                      + f:containers : {
                                          + k:{"name":"clickhouse-sink-connector"}: {
                                              + .             : {}
                                              + f:command     : {}
                                              + f:env         : {
                                                  + k:{"name":"JDK_JAVA_OPTIONS"}: {
                                                      + .      : {}
                                                      + f:name : {}
                                                      + f:value: {}
                                                    }
                                                }
                                              + f:image       : {}
                                              + f:name        : {}
                                              + f:ports       : {
                                                  + k:{"containerPort":8080,"protocol":"TCP"}: {
                                                      + .              : {}
                                                      + f:containerPort: {}
                                                      + f:name         : {}
                                                    }
                                                }
                                              + f:resources   : {
                                                  + f:limits  : {
                                                      + f:memory: {}
                                                    }
                                                  + f:requests: {
                                                      + f:cpu   : {}
                                                      + f:memory: {}
                                                    }
                                                }
                                              + f:volumeMounts: {
                                                  + k:{"mountPath":"/config"}: {
                                                      + .          : {}
                                                      + f:mountPath: {}
                                                      + f:name     : {}
                                                    }
                                                }
                                            }
                                        }
                                      + f:tolerations: {}
                                      + f:volumes    : {
                                          + k:{"name":"clickhouse-config"}: {
                                              + .       : {}
                                              + f:name  : {}
                                              + f:secret: {
                                                  + f:secretName: {}
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                          - f:status  : {
                              - f:availableReplicas  : {}
                              - f:conditions         : {
                                  - .                       : {}
                                  - k:{"type":"Available"}  : {
                                      - .                   : {}
                                      - f:lastTransitionTime: {}
                                      - f:lastUpdateTime    : {}
                                      - f:message           : {}
                                      - f:reason            : {}
                                      - f:status            : {}
                                      - f:type              : {}
                                    }
                                  - k:{"type":"Progressing"}: {
                                      - .                   : {}
                                      - f:lastTransitionTime: {}
                                      - f:lastUpdateTime    : {}
                                      - f:message           : {}
                                      - f:reason            : {}
                                      - f:status            : {}
                                      - f:type              : {}
                                    }
                                }
                              - f:observedGeneration : {}
                              - f:readyReplicas      : {}
                              - f:replicas           : {}
                              - f:terminatingReplicas: {}
                              - f:updatedReplicas    : {}
                            }
                        }
                      ~ manager    : "kube-controller-manager" => "pulumi-kubernetes-6a9af60e"
                      ~ operation  : "Update" => "Apply"
                      - subresource: "status"
                      ~ time       : "2026-03-29T09:25:19Z" => "2026-03-30T12:28:22Z"
                    }
              + [2]: {
                      + apiVersion : "apps/v1"
                      + fieldsType : "FieldsV1"
                      + fieldsV1   : {
                          + f:metadata: {
                              + f:annotations: {
                                  + f:deployment.kubernetes.io/revision: {}
                                }
                            }
                          + f:status  : {
                              + f:availableReplicas  : {}
                              + f:conditions         : {
                                  + .                       : {}
                                  + k:{"type":"Available"}  : {
                                      + .                   : {}
                                      + f:lastTransitionTime: {}
                                      + f:lastUpdateTime    : {}
                                      + f:message           : {}
                                      + f:reason            : {}
                                      + f:status            : {}
                                      + f:type              : {}
                                    }
                                  + k:{"type":"Progressing"}: {
                                      + .                   : {}
                                      + f:lastTransitionTime: {}
                                      + f:lastUpdateTime    : {}
                                      + f:message           : {}
                                      + f:reason            : {}
                                      + f:status            : {}
                                      + f:type              : {}
                                    }
                                }
                              + f:observedGeneration : {}
                              + f:readyReplicas      : {}
                              + f:replicas           : {}
                              + f:terminatingReplicas: {}
                              + f:updatedReplicas    : {}
                            }
                        }
                      + manager    : "kube-controller-manager"
                      + operation  : "Update"
                      + subresource: "status"
                      + time       : "2026-03-29T09:25:19Z"
                    }
            ]
            name             : "clickhouse-sync-clickhouse-sync"
            namespace        : "daily"
            resourceVersion  : "1774776319366847019"
            uid              : "6d026664-2948-410f-954d-677801d1eea5"
        }
      - status    : {
          - availableReplicas  : 1
          - conditions         : [
          -     [0]: {
                  - lastTransitionTime: "2026-01-20T14:55:35Z"
                  - lastUpdateTime    : "2026-02-21T12:17:43Z"
                  - message           : "ReplicaSet \"clickhouse-sync-clickhouse-sync-7dd8cbd8c7\" has successfully progressed."
                  - reason            : "NewReplicaSetAvailable"
                  - status            : "True"
                  - type              : "Progressing"
                }
          -     [1]: {
                  - lastTransitionTime: "2026-03-29T09:25:19Z"
                  - lastUpdateTime    : "2026-03-29T09:25:19Z"
                  - message           : "Deployment has minimum availability."
                  - reason            : "MinimumReplicasAvailable"
                  - status            : "True"
                  - type              : "Available"
                }
            ]
          - observedGeneration : 2
          - readyReplicas      : 1
          - replicas           : 1
          - terminatingReplicas: 0
          - updatedReplicas    : 1
        }


        --outputs:--
      + metadata  : {
          + creationTimestamp: "2026-03-30T12:28:22Z"
          + generation       : 1
          + labels           : {
              + app                      : "[secret]-db-migration"
              + app.kubernetes.io/name   : "[secret]-db-migration"
              + app.kubernetes.io/version: "178bd07af84be59f866049bee563f0ab301cf1ce"
            }
          + managedFields    : [
          +     [0]: {
                  + apiVersion: "batch/v1"
                  + fieldsType: "FieldsV1"
                  + fieldsV1  : {
                      + f:metadata: {
                          + f:labels: {
                              + f:app                      : {}
                              + f:app.kubernetes.io/name   : {}
                              + f:app.kubernetes.io/version: {}
                            }
                        }
                      + f:spec    : {
                          + f:completions: {}
                          + f:template   : {
                              + f:metadata: {
                                  + f:labels: {
                                      + f:app                      : {}
                                      + f:app.kubernetes.io/name   : {}
                                      + f:app.kubernetes.io/version: {}
                                    }
                                }
                              + f:spec    : {
                                  + f:containers        : {
                                      + k:{"name":"api-db-migration"}: {
                                          + .        : {}
                                          + f:args   : {}
                                          + f:env    : {
                                              + k:{"name":"OTEL_SERVICE_NAME"}   : {
                                                  + .      : {}
                                                  + f:name : {}
                                                  + f:value: {}
                                                }
                                              + k:{"name":"OTEL_SERVICE_VERSION"}: {
                                                  + .      : {}
                                                  + f:name : {}
                                                  + f:value: {}
                                                }
                                            }
                                          + f:envFrom: {}
                                          + f:image  : {}
                                          + f:name   : {}
                                        }
                                    }
                                  + f:restartPolicy     : {}
                                  + f:serviceAccountName: {}
                                  + f:tolerations       : {}
                                }
                            }
                        }
                    }
                  + manager   : "pulumi-kubernetes-1ebe09e0"
                  + operation : "Apply"
                  + time      : "2026-03-30T12:28:22Z"
                }
            ]
          + name             : "[secret]-db-migration-301cf1ce"
          + namespace        : "daily"
          + uid              : "0972a485-8fe3-41fb-9fb0-ab73b43f2ab1"
        }
      + spec      : {
          + backoffLimit        : 6
          + completionMode      : "NonIndexed"
          + completio

---
*Output truncated. View full details in the Pulumi Console.*