[codex] Deploy Even G2 main app on lolice#597
Conversation
ArgoCD Diff ResultAuth path: tailscale アプリケーション: argocd-image-updater の差分パス: argoproj/argocd-image-updater ===== argocd-image-updater.argoproj.io/ImageUpdater argocd/ark-discord-bot ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/ark-survival-ascended ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/palserver ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/prod-hitohub ======
142a143
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/stage-hitohub ======
142a143
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/even-g2-lab ======
0a1,24
> apiVersion: argocd-image-updater.argoproj.io/v1alpha1
> kind: ImageUpdater
> metadata:
> annotations:
> argocd.argoproj.io/tracking-id: argocd-image-updater:argocd-image-updater.argoproj.io/ImageUpdater:argocd/even-g2-lab
> name: even-g2-lab
> namespace: argocd
> spec:
> applicationRefs:
> - images:
> - alias: web
> commonUpdateSettings:
> pullSecret: pullsecret:argocd/regcred
> updateStrategy: newest-build
> imageName: 839695154978.dkr.ecr.ap-northeast-1.amazonaws.com/even-g2-client-main:latest
> manifestTargets:
> kustomize:
> name: 839695154978.dkr.ecr.ap-northeast-1.amazonaws.com/even-g2-client-main
> namePattern: even-g2-lab
> namespace: argocd
> writeBackConfig:
> gitConfig:
> branch: main
> method: git:secret:argocd/repo-lolice
ℹ️ 上記の差分が見つかりましたアプリケーション: even-g2-lab の差分パス: argoproj/even-g2-lab |
f32a65d to
c295b03
Compare
ArgoCD Diff ResultAuth path: tailscale アプリケーション: argocd-image-updater の差分パス: argoproj/argocd-image-updater ===== argocd-image-updater.argoproj.io/ImageUpdater argocd/ark-discord-bot ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/ark-survival-ascended ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/palserver ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/prod-hitohub ======
142a143
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/stage-hitohub ======
142a143
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/even-g2-lab ======
0a1,24
> apiVersion: argocd-image-updater.argoproj.io/v1alpha1
> kind: ImageUpdater
> metadata:
> annotations:
> argocd.argoproj.io/tracking-id: argocd-image-updater:argocd-image-updater.argoproj.io/ImageUpdater:argocd/even-g2-lab
> name: even-g2-lab
> namespace: argocd
> spec:
> applicationRefs:
> - images:
> - alias: web
> commonUpdateSettings:
> pullSecret: pullsecret:argocd/regcred
> updateStrategy: newest-build
> imageName: 839695154978.dkr.ecr.ap-northeast-1.amazonaws.com/even-g2-client-main:latest
> manifestTargets:
> kustomize:
> name: 839695154978.dkr.ecr.ap-northeast-1.amazonaws.com/even-g2-client-main
> namePattern: even-g2-lab
> namespace: argocd
> writeBackConfig:
> gitConfig:
> branch: main
> method: git:secret:argocd/repo-lolice
ℹ️ 上記の差分が見つかりましたアプリケーション: even-g2-lab の差分パス: argoproj/even-g2-lab |
ArgoCD Diff ResultAuth path: tailscale アプリケーション: argocd-image-updater の差分パス: argoproj/argocd-image-updater ===== argocd-image-updater.argoproj.io/ImageUpdater argocd/ark-discord-bot ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/ark-survival-ascended ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/palserver ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/prod-hitohub ======
142a143
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/stage-hitohub ======
142a143
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/even-g2-lab ======
0a1,24
> apiVersion: argocd-image-updater.argoproj.io/v1alpha1
> kind: ImageUpdater
> metadata:
> annotations:
> argocd.argoproj.io/tracking-id: argocd-image-updater:argocd-image-updater.argoproj.io/ImageUpdater:argocd/even-g2-lab
> name: even-g2-lab
> namespace: argocd
> spec:
> applicationRefs:
> - images:
> - alias: web
> commonUpdateSettings:
> pullSecret: pullsecret:argocd/regcred
> updateStrategy: newest-build
> imageName: 839695154978.dkr.ecr.ap-northeast-1.amazonaws.com/even-g2-client-main:latest
> manifestTargets:
> kustomize:
> name: 839695154978.dkr.ecr.ap-northeast-1.amazonaws.com/even-g2-client-main
> namePattern: even-g2-lab
> namespace: argocd
> writeBackConfig:
> gitConfig:
> branch: main
> method: git:secret:argocd/repo-lolice
ℹ️ 上記の差分が見つかりましたアプリケーション: even-g2-lab の差分パス: argoproj/even-g2-lab |
ArgoCD Diff ResultAuth path: tailscale アプリケーション: argocd-image-updater の差分パス: argoproj/argocd-image-updater ===== argocd-image-updater.argoproj.io/ImageUpdater argocd/ark-discord-bot ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/ark-survival-ascended ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/palserver ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/prod-hitohub ======
142a143
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/stage-hitohub ======
142a143
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/even-g2-lab ======
0a1,24
> apiVersion: argocd-image-updater.argoproj.io/v1alpha1
> kind: ImageUpdater
> metadata:
> annotations:
> argocd.argoproj.io/tracking-id: argocd-image-updater:argocd-image-updater.argoproj.io/ImageUpdater:argocd/even-g2-lab
> name: even-g2-lab
> namespace: argocd
> spec:
> applicationRefs:
> - images:
> - alias: web
> commonUpdateSettings:
> pullSecret: pullsecret:argocd/regcred
> updateStrategy: newest-build
> imageName: 839695154978.dkr.ecr.ap-northeast-1.amazonaws.com/even-g2-client-main:latest
> manifestTargets:
> kustomize:
> name: 839695154978.dkr.ecr.ap-northeast-1.amazonaws.com/even-g2-client-main
> namePattern: even-g2-lab
> namespace: argocd
> writeBackConfig:
> gitConfig:
> branch: main
> method: git:secret:argocd/repo-lolice
ℹ️ 上記の差分が見つかりましたアプリケーション: even-g2-lab の差分パス: argoproj/even-g2-lab |
ArgoCD Diff ResultAuth path: tailscale アプリケーション: argocd-image-updater の差分パス: argoproj/argocd-image-updater ===== argocd-image-updater.argoproj.io/ImageUpdater argocd/ark-discord-bot ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/ark-survival-ascended ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/palserver ======
119a120
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/prod-hitohub ======
142a143
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/stage-hitohub ======
142a143
> namespace: argocd
===== argocd-image-updater.argoproj.io/ImageUpdater argocd/even-g2-lab ======
0a1,24
> apiVersion: argocd-image-updater.argoproj.io/v1alpha1
> kind: ImageUpdater
> metadata:
> annotations:
> argocd.argoproj.io/tracking-id: argocd-image-updater:argocd-image-updater.argoproj.io/ImageUpdater:argocd/even-g2-lab
> name: even-g2-lab
> namespace: argocd
> spec:
> applicationRefs:
> - images:
> - alias: web
> commonUpdateSettings:
> pullSecret: pullsecret:argocd/regcred
> updateStrategy: newest-build
> imageName: 839695154978.dkr.ecr.ap-northeast-1.amazonaws.com/even-g2-client-main:latest
> manifestTargets:
> kustomize:
> name: 839695154978.dkr.ecr.ap-northeast-1.amazonaws.com/even-g2-client-main
> namePattern: even-g2-lab
> namespace: argocd
> writeBackConfig:
> gitConfig:
> branch: main
> method: git:secret:argocd/repo-lolice
ℹ️ 上記の差分が見つかりましたアプリケーション: even-g2-lab の差分パス: argoproj/even-g2-lab |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b3ce48da40
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| imagePullSecrets: | ||
| - name: regcred |
There was a problem hiding this comment.
新規 namespace に対してこの Deployment がすぐ作られる一方、regcred は argoproj/k8s-ecr-token-updater/cronjob.yaml の 10 時間ごとの CronJob が全 namespace を巡回して作る仕組みでした。CronJob の直後に even-g2-lab が作成されると、次回実行までこの private ECR image を pull できず ImagePullBackOff になるため、アプリ初回デプロイや再作成時に最大 10 時間立ち上がりません。この namespace 用の pull secret を同じ Application で作るか、namespace 作成直後に同期される仕組みにしてください。
Useful? React with 👍 / 👎.
Summary
even-g2-labArgo CD application.cloudflaredDeployment in theeven-g2-labnamespace.even-g2-lab-tunnel-token).even-g2-labcloudflaredconnector to reach the app.Validation
argoproj/even-g2-lab/*.yamlgit diff --cached --checkNotes
The initial Deployment uses a
bootstrapimage tag and will not become healthy until the first real image is pushed and Image Updater writes back the selected tag.Cloudflare private hostname routing should send WARP/Gateway traffic for
even-g2-main.b0xp.iothrough the dedicatedeven-g2-labcloudflaredconnector, whose ingress rule forwards it tohttp://even-g2-main.even-g2-lab.svc.cluster.local:80.Dependencies