-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(k8s): add ingress as standard kustomization
Due to issue in kustomize (kubernetes-sigs/kustomize#347), I ducplicate the whole ingress in the kserver customization.
- Loading branch information
1 parent
145656b
commit 9ca4be5
Showing
4 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: networking.k8s.io/v1beta1 | ||
kind: Ingress | ||
metadata: | ||
name: podcast-server | ||
spec: | ||
rules: | ||
- name: podcast-server | ||
http: | ||
paths: | ||
- path: /api | ||
backend: | ||
serviceName: podcast-server | ||
servicePort: 8080 | ||
- path: /data | ||
backend: | ||
serviceName: fs | ||
servicePort: 80 | ||
- path: / | ||
backend: | ||
serviceName: ui | ||
servicePort: 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ resources: | |
- database.yaml | ||
- ui.yaml | ||
- fs.yaml | ||
- ingress.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters