Skip to content

Instantly share code, notes, and snippets.

@hguerrero
Last active March 11, 2024 17:48
Show Gist options
  • Save hguerrero/0cf57e2b2179c0608e7968dc66a75798 to your computer and use it in GitHub Desktop.
Save hguerrero/0cf57e2b2179c0608e7968dc66a75798 to your computer and use it in GitHub Desktop.
Service Interconnect in AKS
az login
az account set --subscription <YOUR_SUBSCRIPTION>
export KUBECONFIG=~/tmp/kube-azure
az aks get-credentials --resource-group k8s --name skupper
kubectl create namespace skupper
kubectl create secret docker-registry rh--pull-secret --docker-server registry.redhat.io --docker-username <PULL_SECRET_USER> --docker-password <PULL_SECRET_PASSWORD>
kubectl create sa skupper-service-controller
kubectl create sa skupper-router
kubectl create sa skupper-prometheus
kubectl patch serviceaccounts skupper-prometheus -p '{"imagePullSecrets":[{"name":"rh--pull-secret"}]}'
kubectl patch serviceaccounts skupper-service-controller -p '{"imagePullSecrets":[{"name":"rh--pull-secret"}]}'
kubectl patch serviceaccounts skupper-router -p '{"imagePullSecrets":[{"name":"rh--pull-secret"}]}
SKUPPER_FLOW_COLLECTOR_IMAGE=registry.redhat.io/service-interconnect/skupper-flow-collector-rhel9@sha256:29af1545148827f1c38f96172c4c7e752a1c80fafdefa1c59316f7cc5201ebeb \ SKUPPER_SERVICE_CONTROLLER_IMAGE=registry.redhat.io/service-interconnect/skupper-service-controller-rhel9@sha256:3037331c4e042602d7ac07145a9e59efd8711656039b155c71f88ae3e3369cfc \ SKUPPER_CONFIG_SYNC_IMAGE=registry.redhat.io/service-interconnect/skupper-config-sync-rhel9@sha256:55e181d2fc584579df64c39acda45e700f1d4b6266f84ea6a0599bff60621dac \ QDROUTERD_IMAGE=registry.redhat.io/service-interconnect/skupper-router-rhel9@sha256:9dabf6667ae317abb55e100cdf5ee96bc3eb6080a1a39f045a8342a0a2663131 \ SKUPPER_IMAGE_REGISTRY=registry.redhat.io/service-interconnect \ skupper init --enable-console --enable-flow-collector --console-auth unsecured --run-as-user 10000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment