When I try to deploy 03-linksrus-monolith.yaml from chapter 10 I receive errors linked to apiVersion v1beta1. If I go ahead and update linksrus-ingress with one available below, I receive next message:
[kubectl] data namespace already exists
[kubectl] deploying linksrus
| namespace/linksrus unchanged
| namespace/linksrus-data unchanged
| job.batch/cdb-ensure-schema unchanged
| service/linksrus-frontend unchanged
| service/linksrus-headless unchanged
| statefulset.apps/linksrus-monolith-instance unchanged
| Error from server (BadRequest): error when creating "03-linksrus-monolith.yaml": admission
webhook "validate.nginx.ingress.kubernetes.io" denied the request: host "_" and path "/" is
already defined in ingress linksrus/linksrus-ingress
make: *** [Makefile:58: deploy] Error 1
It is something that is unclear to me as I explicitly set port to 80 in linksrus-ingress & 8080 in linksrus-monolith-instance. Why it would complain about paths or hosts overlap
When I try to deploy
03-linksrus-monolith.yaml
from chapter 10 I receive errors linked toapiVersion
v1beta1. If I go ahead and updatelinksrus-ingress
with one available below, I receive next message:It is something that is unclear to me as I explicitly set port to 80 in
linksrus-ingress
& 8080 inlinksrus-monolith-instance
. Why it would complain about paths or hosts overlapMy update for
linksrus-ingress
:Original
03-linksrus-monolith.yaml
file is available here: yaml file in my github repo