Changes between Version 2 and Version 3 of k8s/allinone


Ignore:
Timestamp:
2024/10/29 15:40:55 (4 weeks ago)
Author:
yuna
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • k8s/allinone

    v2 v3  
    4444kubectl apply -f self-sign-cluster-issuer.yaml  
    4545}}} 
     46 
     47== Gateway API 
     48 
     49``` 
     50$ helm delete -nkube-system traefik 
     51``` 
     52 
     53=== values.yaml 
     54 
     55``` 
     56deployment: 
     57  podAnnotations: 
     58    prometheus.io/port: "8082" 
     59    prometheus.io/scrape: "true" 
     60global: 
     61  systemDefaultRegistry: "" 
     62priorityClassName: system-cluster-critical 
     63providers: 
     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 
     71gateway: 
     72  namespacePolicy: All 
     73service: 
     74  ipFamilyPolicy: PreferDualStack 
     75tolerations: 
     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 
     91cert-managerのインストール: 
     92* ここのGatewayAPIを参照 https://atmarkit.itmedia.co.jp/ait/articles/2410/25/news013.html