istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/integration/pilot/testdata/upgrade/README.md (about)

     1  # Upgrade dataset
     2  
     3  These files contain fully rendered manifests to install various Istio versions,
     4  and rendered CNI manifests to install various CNI versions.
     5  They are `tar`ed to avoid developer confusion and accidental edits.
     6  
     7  ## Adding a new version
     8  
     9  1. Generate a revisioned IstioOperator for the version with equivalent settings:
    10  
    11  ```yaml
    12  apiVersion: install.istio.io/v1alpha1
    13  kind: IstioOperator
    14  spec:
    15    hub: gcr.io/istio-release
    16    revision: 1-x-y
    17    components:
    18      base:
    19        enabled: false
    20      pilot:
    21        enabled: true
    22      ingressGateways:
    23        - name: istio-ingressgateway
    24          enabled: false
    25  
    26    values:
    27      global:
    28        proxy:
    29          resources:
    30            requests:
    31              cpu: 10m
    32              memory: 40m
    33  ```
    34  
    35  1. Run `tar cf 1.x.y-install.yaml.tar 1.x.y-install.yaml`
    36  
    37  1. Generate a new CNI Daemonset manifest with the following settings:
    38  
    39  ```yaml
    40  apiVersion: install.istio.io/v1alpha1
    41  kind: IstioOperator
    42  spec:
    43    hub: gcr.io/istio-release
    44    profile: empty
    45    components:
    46      cni:
    47        enabled: true
    48        namespace: kube-system
    49  ```
    50  
    51  1. Run `tar cf 1.x.y-cni-install.yaml.tar 1.x.y-cni-install.yaml`