Skip to main content

How to access to vcluster?

Install vcluster

https://www.vcluster.com/docs/getting-started/setup

  • Homebrew
brew install loft-sh/tap/vcluster
  • Mac(Intel)
curl -L -o vcluster "https://github.com/loft-sh/vcluster/releases/latest/download/vcluster-darwin-amd64" && sudo install -c -m 0755 vcluster /usr/local/bin && rm -f vcluster
  • Mac(Silicon)
curl -L -o vcluster "https://github.com/loft-sh/vcluster/releases/latest/download/vcluster-darwin-arm64" && sudo install -c -m 0755 vcluster /usr/local/bin && rm -f vcluster
  • Linux
curl -L -o vcluster "https://github.com/loft-sh/vcluster/releases/latest/download/vcluster-linux-amd64" && sudo install -c -m 0755 vcluster /usr/local/bin && rm -f vcluster

Setup AWS SSO

Follow this document (Setup AWS SSO) to config aws sso profile.

Account: Carem Share
Role: GameEngineer, IGamingEngineer, Media2AM...
example command:
aws configure sso --profile carem-share-gameloot-engineer
aws configure sso --profile carem-share-igaming-engineer
aws configure sso --profile carem-share-media2am-engineer

Update kubeconfig

Follow this document (How to use AWS SSO to access EKS)

# For Igaming
aws eks update-kubeconfig --name carem-share-eks --alias carem-share-eks --profile carem-share-igaming-engineer

# For Gameloot
aws eks update-kubeconfig --name carem-share-eks --alias carem-share-eks --profile carem-share-gameloot-engineer

# For Gameloot
aws eks update-kubeconfig --name carem-share-eks --alias carem-share-eks --profile carem-share-media2am-engineer

Connect to vcluster(https://www.vcluster.com/docs/operator/accessing-vcluster)

Open terminal and run following command:

# For IGaming
vcluster connect igaming-cluster -n igaming-cluster --insecure --kube-config-context-name igaming-cluster --context carem-share-eks

# For Gameloot
vcluster connect gameloot-cluster -n gameloot-cluster --insecure --kube-config-context-name gameloot-cluster --context carem-share-eks

# For Media2AM
vcluster connect media2am-cluster -n media2am-cluster --insecure --kube-config-context-name media2am-cluster --context carem-share-eks

Now, you can add context igaming-cluster , gameloot-cluster, media2am-cluster to Lens and continue work.