File tree 1 file changed +5
-5
lines changed
site/content/en/docs/tutorials
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -166,24 +166,24 @@ There is one final step that must be done in order to obtain connectivity from t
166
166
We need to patch our nginx controller so that it is listening on port 6379 and can route traffic to your service. To do
167
167
this we need to create a patch file.
168
168
169
- ` nginx- ingress-controller-patch.yaml`
169
+ ` ingress-nginx -controller-patch.yaml`
170
170
` ` ` yaml
171
171
spec:
172
172
template:
173
173
spec:
174
174
containers:
175
- - name: nginx- ingress-controller
175
+ - name: ingress-nginx -controller
176
176
ports:
177
177
- containerPort: 6379
178
178
hostPort: 6379
179
179
` ` `
180
180
181
- Create a file called `nginx- ingress-controller-patch.yaml` and paste the contents above.
181
+ Create a file called `ingress-nginx -controller-patch.yaml` and paste the contents above.
182
182
183
183
Next apply the changes with the following command :
184
184
185
185
` ` ` shell
186
- kubectl patch deployment nginx- ingress-controller --patch "$(cat nginx- ingress-controller-patch.yaml)" -n kube-system
186
+ kubectl patch deployment ingress-nginx- controller --patch "$(cat ingress-nginx -controller-patch.yaml)" -n kube-system
187
187
` ` `
188
188
189
189
# ## Test your connection
@@ -212,7 +212,7 @@ In the above example we did the following:
212
212
213
213
- Created a redis deployment and service in the `default` namespace
214
214
- Patched the `tcp-services` configmap in the `kube-system` namespace
215
- - Patched the `nginx- ingress-controller` deployment in the `kube-system` namespace
215
+ - Patched the `ingress-nginx -controller` deployment in the `kube-system` namespace
216
216
- Connected to our service from the host via port 6379
217
217
218
218
You can apply the same steps that were applied to `tcp-services` to the `udp-services` configmap as well if you have a
You can’t perform that action at this time.
0 commit comments