Skip to content

Commit

Permalink
Merge pull request #51 from lbroudoux/patch-1
Browse files Browse the repository at this point in the history
Update to newer Ingress API version
  • Loading branch information
kdubois authored Dec 3, 2024
2 parents aa8eb84 + e6f4b09 commit c967f1b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions documentation/modules/ROOT/pages/service.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ NOTE: "5979886fb7-grf59" is part of the unique id for the pod. The `.java` code
[source,bash,subs="+macros,+attributes"]
----
cat <<EOF | kubectl apply -f -
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: myingress
Expand All @@ -136,9 +136,12 @@ spec:
http:
paths:
- path: /
pathType: Prefix
backend:
serviceName: the-service
servicePort: 80
service:
name: the-service
port:
number: 80
EOF
----

Expand Down

0 comments on commit c967f1b

Please sign in to comment.