-
Notifications
You must be signed in to change notification settings - Fork 854
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
Migrate slack-infra services to aaa cluster #751
Comments
/sig contributor-experience |
there's also the tempellis image hosting, we should move that to a staging project probably. |
My step by step plan to move slack infra to the
|
State | Step | WIP | Done | Blocked by | Ref | Details |
---|---|---|---|---|---|---|
🟢 | Update deploy instructions | #784 | Creating PR with updated instructions about how to deploy the slack-infra and two missing resource manifests (ingress and certificate) |
|||
🟢 | Create static IP address | #793 | Address: slack-infra-ingress-prod / 34.107.195.71 |
|||
🔴 | #793 (comment) | Done, but the temporary address assigned was not used as the assigned name was impossible to change | ||||
🟢 | Update the DNSes with temporary subdomain | #793, #795, #796, #797 | Updating DNSes with temporary subdomain (slack-staging.k8s.io) pointing to the address from the step above | |||
🟢 | Update the Ingress with static IP annotation | #784, #793 | Updating the ingress resource created in step no. 1 with annotation: kubernetes.io/ingress.global-static-ip-name: slack-infra-ingress-prod |
|||
🟢 | Deploy secrets | #issuecomment-618052639 | Asking one of the people who have access to encrypted secrets (@dims, @spiffxp, @thockin) to deploy them to the slack-infra namespace¹ |
|||
🟢 | Figure out if new services can coexist with the old one | Confirmation from @Katharine at slack | Figuring out if deploying slack-event-log , slack-moderator and slack-welcomer without first turning off the already existing instances is possible |
|||
🟢 | Deploy the rest of resources | ² | ||||
🟢 | Update the real subdomains | #814, #815, #817 | If everything will work fine, updating the DNSes and certificate with proper subdomains (slack.k8s.io and slack.kubernetes.io) pointing to the new ingress (slack-infra-ingress-prod IP address) |
|||
🟢 | Remove temporary dns records | #816, #818 | After confirmation everything works as expected removing dns records for subdomains: slack-staging.k8s.io and slack-staging.kubernetes.io | |||
⚪️ | Get consensus if we can remove duplicated manifests | Getting consensus if we can remove resource manifests (listed below) from our repository and update deploy instructions to use the ones existing at k-sigs/slack-infra/cluster³ | ||||
⚪️ | If agreed, remove duplicated recources | |||||
🟢 | Add missing bad-domains ConfigMap |
#784 | slack discussion, #751 (comment) | Add missing bad-domains ConfigMap manifest to our repository | ||
🟠 | Create slack-tools staging container registry | #802 | k/k8s.io/k8s.gcr.io#creating-staging-repos | |||
⚪️ | Remove ingress and certificate manifests from the slack infra repo |
|||||
⚪️ | Enable automate builds for slack-event-logs |
k/k8s.io/k8s.gcr.io#enabling-automatic-builds | ||||
⚪️ | Enable automate builds for slack-moderator |
k/k8s.io/k8s.gcr.io#enabling-automatic-builds | ||||
⚪️ | Enable automate builds for slack-welcomer |
k/k8s.io/k8s.gcr.io#enabling-automatic-builds | ||||
⚪️ | Create slackin directory in the slack-infra repo |
Where to find slackin container image | ||||
⚪️ | Enable automate builds for slackin |
k/k8s.io/k8s.gcr.io#enabling-automatic-builds | ||||
⚪️ | Release the container images for all of the slack-tools and put them in repository managed by us | #802 | ||||
⚪️ | Update the slack infra repo with the new images |
|||||
⚪️ | Update our repository with the new images |
References
¹
git-crypt unlock
kubectl apply -n slack-infra -f secrets/
git-crypt lock
²
kubectl apply -n slack-infra -f resources/
³
slack-infra/resources/slack-event-log/deployment.yaml
slack-infra//resourcesslack-event-log/service.yaml
slack-infra/resources/slack-moderator/deployment.yaml
slack-infra/resources/slack-moderator/service.yaml
slack-infra/resources/slack-welcomer/deployment.yaml
slack-infra/resources/slack-welcomer/message.yaml
slack-infra/resources/slack-welcomer/service.yaml
slack-infra/resources/slackin/deployment.yaml
slack-infra/resources/slackin/service.yaml
/assign |
|
/unassign I'm... marginally ok with 11, but I don't want us to get to a point where answering "what's the source of what is deployed in our cluster" becomes a byzantine task of manually tracking everything down. In an ideal world it's a machine-answerable question. How can we re-use those externally defined resources + patch in / overlay our own needs? kustomize? kpt? |
Sounds like a good plan @bartsmykla.:) |
@spiffxp can you deploy the ConfigMap |
Yes, it looks like we are missing this to run the |
So @spiffxp applied the ConfigMap and I just have to update the repository with the missing manfest |
When I today checked what's the status of
ref. #802 |
As suggested and discussed at slack, we proceed with @munnerz with DNS update (ref. #814, #815 and #817), all four tools are right now working at the We have tested inviting the new members via slack.k8s.io (slackin), receiving welcome messages (slack-welcomer) and reporting messages (slack-moderator). We are also in the process od checking if slack-event-log works as expected (I'll need confirmation from @munnerz as access to that channel is restricted to slack admins). I suggest to leave the old infrastructure still running for the next two weeks to be sure everything is fine, and then we can get rid of another cluster. I will followup with the PR updarting the certificate.yaml file and one removing the temporary slack-staging.k8s.io subdomain. |
Following up PR for removal of slack-staging.k8s.ip dns record and also with update of the certificate.yaml #818 |
There are two things I would like to still do, even if the whole
|
/close |
@spiffxp: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/wg k8s-infra
/area cluster-infra
/assign @bartsmykla @ameukam
The text was updated successfully, but these errors were encountered: