| 46 | |
| 47 | == Gateway API |
| 48 | |
| 49 | ``` |
| 50 | $ helm delete -nkube-system traefik |
| 51 | ``` |
| 52 | |
| 53 | === values.yaml |
| 54 | |
| 55 | ``` |
| 56 | deployment: |
| 57 | podAnnotations: |
| 58 | prometheus.io/port: "8082" |
| 59 | prometheus.io/scrape: "true" |
| 60 | global: |
| 61 | systemDefaultRegistry: "" |
| 62 | priorityClassName: system-cluster-critical |
| 63 | providers: |
| 64 | kubernetesIngress: |
| 65 | publishedService: |
| 66 | enabled: true |
| 67 | # Enable the GatewayAPI provider |
| 68 | kubernetesGateway: |
| 69 | enabled: true |
| 70 | # Allow the Gateway to expose HTTPRoute from all namespaces |
| 71 | gateway: |
| 72 | namespacePolicy: All |
| 73 | service: |
| 74 | ipFamilyPolicy: PreferDualStack |
| 75 | tolerations: |
| 76 | - key: CriticalAddonsOnly |
| 77 | operator: Exists |
| 78 | - effect: NoSchedule |
| 79 | key: node-role.kubernetes.io/control-plane |
| 80 | operator: Exists |
| 81 | - effect: NoSchedule |
| 82 | key: node-role.kubernetes.io/master |
| 83 | operator: Exists |
| 84 | ``` |
| 85 | |
| 86 | ``` |
| 87 | $ helm repo add traefik https://traefik.github.io/charts |
| 88 | $ helm install traefik traefik/traefik -nkube-system -f values.yaml |
| 89 | ``` |
| 90 | |
| 91 | cert-managerのインストール: |
| 92 | * ここのGatewayAPIを参照 https://atmarkit.itmedia.co.jp/ait/articles/2410/25/news013.html |