feat(operator): multi-tenancy#5535
Draft
lmilan wants to merge 6 commits into
Draft
Conversation
✅ Deploy Preview for kongdeveloper ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
|
||
| ## KongLicense | ||
|
|
||
| `KongLicense` is a cluster-scoped resource. A single `KongLicense` applied to the cluster is shared by all `Gateway` instances managed by that {{ site.operator_product_name }} installation, you don't need to create one per tenant or per namespace. |
Comment on lines
+91
to
+95
| ```bash | ||
| kubectl create namespace kong-system | ||
| kubectl create namespace kong-gw-public | ||
| kubectl create namespace kong-gw-private | ||
| ``` |
Comment on lines
+101
to
+104
| ```bash | ||
| helm repo add kong https://charts.konghq.com | ||
| helm repo update | ||
| ``` |
Comment on lines
+55
to
+58
| ```bash | ||
| kubectl apply -f {{site.links.web}}/manifests/kic/echo-service.yaml -n kong-gw-public | ||
| kubectl apply -f {{site.links.web}}/manifests/kic/echo-service.yaml -n kong-gw-private | ||
| ``` |
Comment on lines
+62
to
+65
| ```bash | ||
| kubectl rollout status deployment/echo -n kong-gw-public --timeout=60s | ||
| kubectl rollout status deployment/echo -n kong-gw-private --timeout=60s | ||
| ``` |
Comment on lines
+145
to
+150
| export PUBLIC_GW_IP=$(kubectl get gateway gw-public -n kong-gw-public \ | ||
| -o jsonpath='{.status.addresses[0].value}') | ||
| echo $PUBLIC_GW_IP | ||
| export PRIVATE_GW_IP=$(kubectl get gateway gw-private -n kong-gw-private \ | ||
| -o jsonpath='{.status.addresses[0].value}') | ||
| echo $PRIVATE_GW_IP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #3599
Preview Links
Checklist
descriptionentry in frontmatter.