Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
omri374 authored Oct 15, 2024
2 parents 466f623 + 71fa64d commit 2160993
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions docs/samples/deployments/k8s/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You can install Presidio locally using [KIND](https://github.com/kubernetes-sigs
1. A Kubernetes 1.18+ cluster with [RBAC](https://kubernetes.io/docs/reference/access-authn-authz/rbac/) enabled. If you are using [AKS](https://docs.microsoft.com/en-us/azure/aks/intro-kubernetes) RBAC is enabled by default.

!!! note: Note
Note the pod's resources requirements (CPU and memory) and plan the cluster accordingly.
Note the pod's resource requirements (CPU and memory) and plan the cluster accordingly.
2. [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/) installed. Verify you can communicate with the cluster by running:
Expand All @@ -59,12 +59,26 @@ You can install Presidio locally using [KIND](https://github.com/kubernetes-sigs
2. Optional - Ingress controller for presidio API, e.g., [NGINX](https://docs.microsoft.com/en-us/azure/aks/ingress-tls).
> Note: Presidio is not deployed with an ingress controller by default.
to change this behavior, deploy the helm chart with `ingress.enabled=true` and specify they type of ingress controller to be used with `ingress.class=nginx` (supported classes are: `nginx`).
> **NOTE**:
> Presidio is deployed with an ingress controller by default, and uses `nginx` as `ingress.class`. To change
> this behavior, deploy the helm chart with `ingress.enabled=false`.
3. Deploy from `/docs/samples/deployments/k8s/charts/presidio`
```sh
# Based on the DOCKER_REGISTRY and PRESIDIO_LABEL from the previous steps
helm install --name demo --set registry=${DOCKER_REGISTRY},tag=${PRESIDIO_LABEL} . --namespace presidio
# Choose a namespace and ensure it is created
NAMESPACE=presidio
# Choose the tag, from mcr.microsoft.com, e.g. `latest`
TAG=latest
# Choose a name for the deployment
NAME=<name>
# Use Helm to install all required components
helm install $NAME . --set tag=$PRESIDIO_LABEL --namespace $NAMESPACE
# If you have your own images in a separate ACR, run
DOCKER_REGISTRY=<your_registry>
helm install $NAME . --set registry=$DOCKER_REGISTRY,tag=$PRESIDIO_LABEL . --namespace $NAMESPACE
```

0 comments on commit 2160993

Please sign in to comment.