Skip to content

Commit

Permalink
Merge pull request #1 from generalinterest/main
Browse files Browse the repository at this point in the history
upgrade to Traefik v2 syntax
  • Loading branch information
generalinterest authored Oct 31, 2022
2 parents 7d07e8d + c9a52ac commit 104365e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions busybox-httpd_ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apiVersion: extensions/v1beta1
kind: Ingress
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: busybox-httpd
namespace: default
spec:
rules:
- host: kickstart.pik8s.home
http:
paths:
- backend:
serviceName: busybox-httpd
servicePort: 8088
entryPoints:
- web
routes:
- match: Host(`kickstart.pik8s.home`) && PathPrefix(`/`)
kind: Rule
services:
- name: busybox-httpd
port: 8088
2 changes: 1 addition & 1 deletion busybox-httpd_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app: busybox-httpd
name: busybox-httpd
spec:
type: ClusterIP
type: NodePort
ports:
- port: 8088
protocol: TCP
Expand Down

0 comments on commit 104365e

Please sign in to comment.