-
Notifications
You must be signed in to change notification settings - Fork 33
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
Adding/updating RLP use cases to docs #964
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
- Accessible Redis instance, for persistent storage for your rate limit counters. (Optional) | ||
|
||
|
||
> Note: By default the following guide will install the "latest" or "main" version of Kuadrant. To pick a specific version, change the image in the `config/deploy/install/standard/kustomization.yaml`. All versions available can be found on the Kuadrant operator [release page](https://github.com/Kuadrant/kuadrant-operator/releases) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this directory doesnt exist |
||
> Note: By default the following guide will install the "latest" or "main" version of Kuadrant. To pick a specific version, change the image in the `config/install/standard/kuadrant-version.yaml`. All versions available can be found on the Kuadrant operator [release page](https://github.com/Kuadrant/kuadrant-operator/releases) | ||
|
||
> Note: for multiple clusters, it would make sense to do the installation via a tool like [argocd](https://argo-cd.readthedocs.io/en/stable/). For other methods of addressing multiple clusters take a look at the [kubectl docs](https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/) | ||
|
||
|
@@ -19,19 +19,19 @@ | |
> Note this uses the community operatorhub catalog. If you are installing on OpenShift and want to use the redhat provided catalog use the second command. | ||
|
||
|
||
``` | ||
```bash | ||
# community catalog | ||
kubectl apply -k config/install/standard | ||
``` | ||
|
||
``` | ||
```bash | ||
# redhat catalog | ||
kubectl apply -k config/install/openshift | ||
``` | ||
|
||
Verify both Kuadrant and sail operators are installed. Note, that this can take a while. You can also take a look at the subscription and installplan resource to help with debugging but the end state should be as below: | ||
|
||
``` | ||
```bash | ||
kubectl get deployments -n kuadrant-system | ||
|
||
|
||
|
@@ -45,7 +45,7 @@ kubectl get deployments -n kuadrant-system | |
|
||
|
||
|
||
``` | ||
```bash | ||
kubectl get deployments -n gateway-system | ||
|
||
|
||
|
@@ -71,7 +71,7 @@ This will configure Kuadrant and Sail to install their components, set the crede | |
|
||
Validate Kuadrant is ready via the kuadrant resource status condition | ||
|
||
``` | ||
```bash | ||
kubectl get kuadrant kuadrant -n kuadrant-system -o=yaml | ||
``` | ||
|
||
|
@@ -81,7 +81,7 @@ At this point Kuadrant is ready to use. Below are some additional configuration | |
|
||
create a `redis-credential.env` in the `config/install/configure/redis-storage` dir | ||
|
||
``` | ||
```bash | ||
kubectl apply -k config/install/configure/redis-storage | ||
``` | ||
|
||
|
@@ -91,7 +91,7 @@ This will setup limitador to use provided redis connection URL as a backend stor | |
|
||
Validate Kuadrant is in a ready state as before: | ||
|
||
``` | ||
```bash | ||
kubectl get kuadrant kuadrant -n kuadrant-system -o=yaml | ||
``` | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ kind: CatalogSource | |
metadata: | ||
name: kuadrant-operator-catalog | ||
spec: | ||
image: quay.io/kuadrant/kuadrant-operator-catalog:v1.0.0-rc6 #change this to the version you want to install | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. default should be latest |
||
image: quay.io/kuadrant/kuadrant-operator-catalog:latest #change this to the version you want to install |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
# Install Kuadrant on a Kubernetes cluster | ||
|
||
!!! note | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. does this render ok with mkdocs (checkout a branch locally, update mkdocs.yaml to point to this branch for the kuadrant-operator component) ? could be wrong by I vaguely recall that maybe these newlines were needed - worth a quick check There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no i havent checked good shout ill double check |
||
You must perform these steps on each Kubernetes cluster where you want to use Kuadrant. | ||
|
||
!!! warning | ||
|
@@ -31,7 +30,6 @@ kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/downloa | |
### Install [OLM](https://olm.operatorframework.io/) | ||
|
||
!!! note | ||
|
||
Currently, we recommend installing our operator via OLM. We plan to support Helm soon. | ||
|
||
```bash | ||
|
@@ -41,12 +39,10 @@ curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releas | |
### (Optional) Install Istio as a Gateway API provider | ||
|
||
!!! note | ||
|
||
Skip this step if planing to use [Envoy Gateway](https://gateway.envoyproxy.io/) as Gateway API provider | ||
|
||
!!! note | ||
|
||
There are several ways to install Istio (via `istioctl`, Helm chart or Operator) - this is just an example for starting from a bare Kubernetes cluster. | ||
There are several ways to install Istio (via `istioctl`, Helm chart or Operator) - this is just an example for starting from a bare Kubernetes cluster. | ||
|
||
```bash | ||
curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.22.5 sh - | ||
|
@@ -58,12 +54,9 @@ kubectl apply -f https://raw.githubusercontent.com/Kuadrant/kuadrant-operator/ma | |
### (Optional) Install Envoy Gateway as a Gateway API provider | ||
|
||
!!! note | ||
|
||
Skip this step if planing to use [Istio](https://istio.io/) as Gateway API provider | ||
|
||
!!! note | ||
|
||
There are several ways to install Envoy Gateway (via `egctl`, Helm chart or Kubernetes yaml) - this is just an example for starting from a bare Kubernetes cluster. | ||
There are several ways to install Envoy Gateway (via `egctl`, Helm chart or Kubernetes yaml) - this is just an example for starting from a bare Kubernetes cluster. | ||
|
||
```bash | ||
helm install eg oci://docker.io/envoyproxy/gateway-helm --version v1.1.0 -n envoy-gateway-system --create-namespace | ||
|
@@ -213,4 +206,4 @@ If you are using a local kind cluster, we recommend using [metallb](https://meta | |
|
||
## Next Steps | ||
|
||
- [Secure, protect, and connect APIs with Kuadrant on Kubernetes](../user-guides/secure-protect-connect.md) | ||
- [Secure, protect, and connect APIs with Kuadrant on Kubernetes](../user-guides/full-walkthrough/secure-protect-connect-k8s.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not know you could do this. Certainly is working (I can see in https://github.com/R-Lawton/kuadrant-operator/tree/doc-updates)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cant take credit was my linter 😁