Skip to content

Commit 84b9cfe

Browse files
committed
updating mongodb changes
1 parent c901303 commit 84b9cfe

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

docs/how-to/MongoDB-single-tier-solution.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Perform the following after you deploy the Citrix ADC VPX:
3434

3535
1. Configure an IP address from the subnet of the Kubernetes cluster as SNIP on the Citrix ADC. For information on configuring SNIPs in Citrix ADC, see [Configuring Subnet IP Addresses (SNIPs)](https://docs.citrix.com/en-us/citrix-adc/13/networking/ip-addressing/configuring-citrix-adc-owned-ip-addresses/configuring-subnet-ip-addresses-snips.html).
3636

37-
2. Enable management access for the SNIP that is the same subnet of the Kubernetes cluster. The SNIP should be used as `NS_IP` variable in the [Citrix ingress controller YAML](https://github.com/citrix/citrix-k8s-ingress-controller/blob/master/deployment/dual-tier/manifest/tier-1-vpx-cic.yaml) file to enable the Citrix ingress controller to configure the Tier-1 Citrix ADC.
37+
2. Enable management access for the SNIP that is the same subnet of the Kubernetes cluster. The SNIP should be used as `NS_IP` variable in the [Citrix ingress controller YAML](https://raw.githubusercontent.com/citrix/citrix-k8s-ingress-controller/blob/master/deployment/dual-tier/manifest/tier-1-vpx-cic.yaml) file to enable the Citrix ingress controller to configure the Tier-1 Citrix ADC.
3838

3939
>**Note:**
4040
>It is not mandatory to use SNIP as `NS_IP`. If the management IP address of the Citrix ADC is reachable from the Citrix ingress controller then you can use the management IP address as `NS_IP`.
@@ -85,19 +85,19 @@ Perform the following steps to deploy the Citrix Ingress solution for MongoDB.
8585
| ingress-classes | Optional | If multiple Ingress load balancers are used to load balance different Ingress resources. You can use this environment variable to specify the Citrix ingress controller to configure Citrix ADC associated with a specific Ingress class. For information on Ingress classes, see [Ingress class support](../configure/ingress-classes.md)|
8686
| NS_VIP | Optional | Citrix ingress controller uses the IP address provided in this environment variable to configure a virtual IP address to the Citrix ADC that receives Ingress traffic. **Note:** NS_VIP takes precedence over the [frontend-ip](https://github.com/citrix/citrix-k8s-ingress-controller/blob/master/docs/annotations.md) annotation. |
8787

88-
1. Specify the following arguments in the Citrix ingress controller YAML file.
88+
1. Specify or modify the following arguments in the Citrix ingress controller YAML file.
8989

9090
args:
9191
- --configmap
9292
default/cic-configmap
9393
- --ingress-classes
94-
tier-1-vpx
94+
tier-1-vpx
9595

9696
3. Deploy the updated Citrix ingress controller manifest file using the following command:
9797

9898
kubectl create -f tier-1-vpx-cic.yaml
9999

100-
1. Create an Ingress object for the Tier-1 Citrix ADC using the [tier-1-vpx-ingress.yaml]() file.
100+
1. Create an Ingress object for the Tier-1 Citrix ADC using the [tier-1-vpx-ingress.yaml](../../example/mongodb/tier-1-vpx-ingress.yaml) file.
101101

102102
kubectl apply -f tier-1-vpx-ingress.yaml
103103

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: extensions/v1beta1
2+
kind: Ingress
3+
metadata:
4+
name: mongo-db-ingress
5+
annotations:
6+
kubernetes.io/ingress.class: "tier-1-vpx"
7+
ingress.citrix.com/insecure-termination: "allow"
8+
ingress.citrix.com/insecure-service-type: "mongo"
9+
ingress.citrix.com/analyticsprofile: '{"tcpinsight": {"tcpBurstReporting":"DISABLED"}}'
10+
ingress.citrix.com/insecure-port: "27017"
11+
spec:
12+
backend:
13+
serviceName: mongodb-mongos
14+
servicePort: 27017

0 commit comments

Comments
 (0)