Skip to content

Commit c437b52

Browse files
committed
Deprecate ingress nginx
1 parent 8dd6f08 commit c437b52

File tree

21 files changed

+39
-27
lines changed

21 files changed

+39
-27
lines changed

platform/_partials/install/external-access-nginx-deploy.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Deploy `nginx-ingress` controller to your cluster. Update `$PLATFORM_VERSION`
1+
[Deprecated]: Deploy `nginx-ingress` controller to your cluster. Update `$PLATFORM_VERSION`
22
with a valid platform version.
33

4-
```bash title="Deploy nginx-ingress controller"
4+
```bash title="[Deprecated- the ingress-nginx project has been deprecated]: Deploy ingress-nginx controller"
55
helm upgrade --install ingress-nginx ingress-nginx \
66
--repository-config='' \
77
-n ingress-nginx \

platform/_partials/install/external-access-nginx-loft-values.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
To update the platform deployment to use the NGINX ingress controller, create a simple values
1+
[Deprecated]: To update the platform deployment to use the NGINX ingress controller, create a simple values
22
file that tells the platform to do just that. If you created a values file during your initial
33
deployment, you can simply edit that file, if you did not, you can create a new file with the
44
following contents.
55

6-
```yaml title="Update to use NGINX ingress controller"
6+
```yaml title="[Deprecated- the ingress-nginx project has been deprecated]: Update to use NGINX ingress controller"
77
ingress:
88
enabled: true
99
host: "vcluster-platform.mydomain.tld" # Make sure to change this

platform/_partials/install/external-access-nginx-manual.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import PartialAdminUpgradeCLI from "../guides/upgrade-cli.mdx";
66
import PartialStartGetExternalIP from "./external-access-nginx-get-external-ip.mdx";
77
import PartialStartSetARecord from "./external-access-nginx-set-a-record.mdx";
88

9+
:::warning Deprecated
10+
The ingress-nginx project has been deprecated. We recommend using a different ingress controller.
11+
:::
12+
913
<Flow id="nginx-ingress-manual-install">
1014
<Step>
1115
<PartialNGINXDeploy />

platform/_partials/install/external-access-nginx.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import PartialStartWithHost from "./external-access-nginx-start.mdx";
66
import PartialStartGetExternalIP from "./external-access-nginx-get-external-ip.mdx";
77
import PartialStartSetARecord from "./external-access-nginx-set-a-record.mdx";
88

9+
:::warning Deprecated
10+
The ingress-nginx project has been deprecated. We recommend using a different ingress controller.
11+
:::
12+
913
:::warning Heads up.
1014
This section assumes you already have the nginx ingress controller installed, if you don't,
1115
check out the 'Manual Ingress Controller Installation' tab.

platform/_partials/sleep/activity-detection.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ If your kube-context points to the platform's API server as a proxy before the a
3030

3131
### Ingress Requests
3232

33-
For [ingress-nginx](https://github.com/kubernetes/ingress-nginx/tree/main) based Ingresses and [Istio](https://istio.io/) Gateways, activity detection works automatically.
33+
For [ingress-nginx](https://github.com/kubernetes/ingress-nginx/tree/main) (deprecated) based Ingresses and [Istio](https://istio.io/) Gateways, activity detection works automatically.
3434
For nginx based ingresses, the platform adds the [mirror-target](https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md#mirror) annotation to each ingress that will track activity and reset the timer when a request is made to that ingress.
3535
For Istio, the metrics from the istio-proxy container are used to determine activity.
3636

platform/administer/clusters/advanced/ingress-suffix.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ You can set the required ingress suffix in the vCluster Platform UI:
4141
</Flow>
4242

4343
:::info Pre-Requisites
44-
This will require an ingress-controller in the cluster (such as ingress-nginx) and a wildcard DNS record on the above configured domain. Make sure to enable ssl-passthrough on the ingress controller as well or install the ingress-nginx vCluster Platform app.
44+
This will require an ingress-controller in the cluster and a wildcard DNS record on the above configured domain. Make sure to enable ssl-passthrough on the ingress controller as well or install the ingress-nginx vCluster Platform app (deprecated).
4545
:::

platform/administer/clusters/advanced/multi-region-mode.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ kind: Ingress
1919
metadata:
2020
name: loft-agent-ingress
2121
annotations:
22-
kubernetes.io/ingress.class: nginx
22+
kubernetes.io/ingress.class: nginx # ingress-nginx has been deperecated
2323
nginx.ingress.kubernetes.io/proxy-read-timeout: "43200"
2424
nginx.ingress.kubernetes.io/proxy-send-timeout: "43200"
2525
nginx.ingress.kubernetes.io/proxy-buffers-number: "8 32k"

platform/administer/clusters/advanced/policies.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ spec:
247247
248248
### Deny Ingress Classes
249249
250-
This policy will deny all ingress classes except `nginx`.
250+
This policy will deny all ingress classes except `istio`.
251251
252252
```
253253
apiVersion: policy.jspolicy.com/v1beta1
@@ -259,7 +259,7 @@ spec:
259259
resources: ["ingresses"]
260260
javascript: |
261261
// ingress class can be set via annotation "kubernetes.io/ingress.class" or through spec.ingressClassName.
262-
const allowedIngressClasses = ["nginx"];
262+
const allowedIngressClasses = ["istio"];
263263
const ingressClasses = [request.object.metadata?.annotations?.["kubernetes.io/ingress.class"], request.object.spec.ingressClassName];
264264
const notAllowed = ingressClasses.filter(ingressClass => ingressClass && !allowedIngressClasses.includes(ingressClass));
265265
if (notAllowed.length > 0) {

platform/administer/monitoring/aggregating-metrics.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Then open your browser and navigate to `http://localhost:8080`. Log in with user
217217

218218
### Option 2: Ingress
219219

220-
Create an Ingress resource to expose Grafana externally. The following example uses the nginx ingress controller:
220+
Create an Ingress resource to expose Grafana externally. The following example uses the nginx ingress controller (deperecated):
221221

222222
```yaml title="grafana-ingress.yaml"
223223
apiVersion: networking.k8s.io/v1

platform/administer/templates/create-templates.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ spec:
546546
annotations:
547547
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
548548
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
549-
ingressClassName: "nginx"
549+
ingressClassName: "nginx" # deperecated
550550
hostname: {{ .Values.loft.virtualClusterName }}-{{ .Values.loft.project }}-{{ .Values.loft.clusterAnnotations.domainPrefix }}.{{ .Values.loft.clusterAnnotations.domain }}
551551
tls: true
552552
ingressGrpc:
@@ -556,7 +556,7 @@ spec:
556556
logLevel: "debug"
557557
ingress:
558558
enabled: true
559-
ingressClassName: "nginx"
559+
ingressClassName: "nginx" # deperecated
560560
annotations:
561561
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
562562
hostname: {{ .Values.loft.virtualClusterName }}-{{ .Values.loft.project }}-{{ .Values.loft.clusterAnnotations.domainPrefix }}-appset.{{ .Values.loft.clusterAnnotations.domain }}

0 commit comments

Comments
 (0)