-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(kic) extract common docs to includes (#5256)
Co-authored-by: Michael Heap <[email protected]>
- Loading branch information
Showing
10 changed files
with
88 additions
and
187 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
## Deploy the {{site.kic_product_name}} {#deploy-kic} | ||
|
||
Deploy the {{site.kic_product_name}} using `kubectl`: | ||
|
||
{% if_version gte:2.8.x %} | ||
```bash | ||
$ kubectl create -f https://raw.githubusercontent.com/Kong/kubernetes-ingress-controller/v{{ include.version }}/deploy/single/all-in-one-dbless.yaml | ||
namespace/kong created | ||
customresourcedefinition.apiextensions.k8s.io/ingressclassparameterses.configuration.konghq.com created | ||
customresourcedefinition.apiextensions.k8s.io/kongclusterplugins.configuration.konghq.com created | ||
customresourcedefinition.apiextensions.k8s.io/kongconsumers.configuration.konghq.com created | ||
customresourcedefinition.apiextensions.k8s.io/kongingresses.configuration.konghq.com created | ||
customresourcedefinition.apiextensions.k8s.io/kongplugins.configuration.konghq.com created | ||
customresourcedefinition.apiextensions.k8s.io/tcpingresses.configuration.konghq.com created | ||
customresourcedefinition.apiextensions.k8s.io/udpingresses.configuration.konghq.com created | ||
serviceaccount/kong-serviceaccount created | ||
role.rbac.authorization.k8s.io/kong-leader-election created | ||
clusterrole.rbac.authorization.k8s.io/kong-ingress created | ||
clusterrole.rbac.authorization.k8s.io/kong-ingress-gateway created | ||
clusterrole.rbac.authorization.k8s.io/kong-ingress-knative created | ||
rolebinding.rbac.authorization.k8s.io/kong-leader-election created | ||
clusterrolebinding.rbac.authorization.k8s.io/kong-ingress created | ||
clusterrolebinding.rbac.authorization.k8s.io/kong-ingress-gateway created | ||
clusterrolebinding.rbac.authorization.k8s.io/kong-ingress-knative created | ||
service/kong-admin created | ||
service/kong-proxy created | ||
service/kong-validation-webhook created | ||
deployment.apps/ingress-kong created | ||
deployment.apps/proxy-kong created | ||
ingressclass.networking.k8s.io/kong created | ||
``` | ||
{% endif_version %} | ||
{% if_version lte:2.7.x %} | ||
```bash | ||
$ kubectl create -f https://raw.githubusercontent.com/Kong/kubernetes-ingress-controller/v{{ page.version }}/deploy/single/all-in-one-dbless.yaml | ||
namespace/kong created | ||
customresourcedefinition.apiextensions.k8s.io/kongplugins.configuration.konghq.com created | ||
customresourcedefinition.apiextensions.k8s.io/kongconsumers.configuration.konghq.com created | ||
customresourcedefinition.apiextensions.k8s.io/kongcredentials.configuration.konghq.com created | ||
customresourcedefinition.apiextensions.k8s.io/kongingresses.configuration.konghq.com created | ||
serviceaccount/kong-serviceaccount created | ||
clusterrole.rbac.authorization.k8s.io/kong-ingress-clusterrole created | ||
clusterrolebinding.rbac.authorization.k8s.io/kong-ingress-clusterrole-nisa-binding created | ||
configmap/kong-server-blocks created | ||
service/kong-proxy created | ||
service/kong-validation-webhook created | ||
deployment.extensions/kong created | ||
``` | ||
{% endif_version %} | ||
|
||
It will take a few minutes for all containers to start and report | ||
healthy status. | ||
|
||
Alternatively, you can use our helm chart as well: | ||
|
||
```bash | ||
$ helm repo add kong https://charts.konghq.com | ||
$ helm repo update | ||
|
||
# Helm 3 | ||
$ helm install kong/kong --generate-name --set ingressController.installCRDs=false | ||
``` | ||
|
||
*Note:* this process could take up to five minutes the first time. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
### Kong Enterprise License secret | ||
|
||
Enterprise version requires a valid license to run. | ||
As part of sign up for Kong Enterprise, you should have received a license file. | ||
If you do not have one, please contact your sales representative. | ||
Save the license file temporarily to disk with filename `license` | ||
and execute the following: | ||
|
||
```bash | ||
$ kubectl create secret generic kong-enterprise-license --from-file=license=./license.json -n kong | ||
secret/kong-enterprise-license created | ||
``` | ||
|
||
Please note that `-n kong` specifies the namespace in which you are deploying | ||
the {{site.kic_product_name}}. If you are deploying in a different namespace, | ||
please change this value. |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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