github.phpd.cn/cilium/cilium@v1.6.12/Documentation/cmdref/cilium_preflight_migrate-identity.md (about)

     1  <!-- This file was autogenerated via cilium cmdref, do not edit manually-->
     2  
     3  ## cilium preflight migrate-identity
     4  
     5  Migrate KVStore-backed identities to kubernetes CRD-backed identities
     6  
     7  ### Synopsis
     8  
     9  migrate-identity allows migrating to CRD-backed identities while
    10  	minimizing connection interruptions. It will allocate a CRD-backed identity,
    11  	with the same numeric security identity, for each cilium security identity
    12  	defined in the kvstore. When cilium-agents are restarted with
    13  	identity-allocation-mode set to CRD the numeric identities will then be
    14  	equivalent between new instances and not-upgraded ones. In cases where the
    15  	numeric identity is already in-use by a different set of labels, a new
    16  	numeric identity is created.
    17  
    18  ```
    19  cilium preflight migrate-identity [flags]
    20  ```
    21  
    22  ### Options
    23  
    24  ```
    25    -h, --help                         help for migrate-identity
    26        --k8s-api-server string        Kubernetes api address server (for https use --k8s-kubeconfig-path instead)
    27        --k8s-kubeconfig-path string   Absolute path of the kubernetes kubeconfig file
    28        --kvstore string               Key-value store type
    29        --kvstore-opt map              Key-value store options (default map[])
    30  ```
    31  
    32  ### Options inherited from parent commands
    33  
    34  ```
    35        --config string   config file (default is $HOME/.cilium.yaml)
    36    -D, --debug           Enable debug messages
    37    -H, --host string     URI to server-side API
    38  ```
    39  
    40  ### SEE ALSO
    41  
    42  * [cilium preflight](../cilium_preflight)	 - cilium upgrade helper
    43