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

chore: move openshift-multi to RH GCP #1061

Merged
merged 2 commits into from
Nov 9, 2023

Conversation

gavin-stackrox
Copy link
Contributor

@gavin-stackrox gavin-stackrox commented Nov 8, 2023

ROX-20296, ref: https://redhat-internal.slack.com/archives/CC5UHD0KA/p1699470694025049?thread_ts=1699452056.973829&cid=CC5UHD0KA

Testing

  • - create openshift-multi - check right project
$ INFRA_TOKEN="$STAGE_INFRA_TOKEN" bin/infractl -k -e localhost:8443 create openshift-multi
ID: gj-11-08-12
  • - destroy - ensure no leaks

@gavin-stackrox gavin-stackrox requested a review from a team as a code owner November 8, 2023 23:47
@ghost
Copy link

ghost commented Nov 9, 2023

A single node development cluster (infra-pr-1061) was allocated in production infra for this PR.

CI will attempt to deploy us.gcr.io/stackrox-infra/infra-server:0.8.6-5-ga0daede104 to it.

🔌 You can connect to this cluster with:

gcloud container clusters get-credentials infra-pr-1061 --zone us-central1-a --project acs-team-temp-dev

🛠️ And pull infractl from the deployed dev infra-server with:

nohup kubectl -n infra port-forward svc/infra-server-service 8443:8443 &
make pull-infractl-from-dev-server

🚲 You can then use the dev infra instance e.g.:

bin/infractl -k -e localhost:8443 whoami

⚠️ Any clusters that you start using your dev infra instance should have a lifespan shorter then the development cluster instance. Otherwise they will not be destroyed when the dev infra instance ceases to exist when the development cluster is deleted. ⚠️

Further Development

☕ If you make changes, you can commit and push and CI will take care of updating the development cluster.

🚀 If you only modify configuration (chart/infra-server/configuration) or templates (chart/infra-server/{static,templates}), you can get a faster update with:

make install-local

Logs

Logs for the development infra depending on your @redhat.com authuser:

Or:

kubectl -n infra logs -l app=infra-server --tail=1 -f

@gavin-stackrox gavin-stackrox enabled auto-merge (squash) November 9, 2023 02:04
Copy link
Contributor

@davdhacs davdhacs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@gavin-stackrox gavin-stackrox merged commit 1258a93 into master Nov 9, 2023
7 checks passed
@gavin-stackrox gavin-stackrox deleted the gavin/move-openshift-multi branch November 9, 2023 18:09
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