Migrate from Deprecated API Versions
As the Verrazzano API evolves, APIs are periodically updated. When APIs evolve, the old API is deprecated and eventually removed. This document contains information that you need to know when migrating from deprecated API versions to newer and more stable API versions.
Verrazzano
The install.verrazzano.io/v1alpha1 API version of Verrazzano resources is deprecated and will no longer be served in a future release.
- Migrate manifests and API clients to use the
install.verrazzano.io/v1beta1API version, available since 1.4.0. - All existing persisted objects are accessible using the new API.
Notable Changes In install.verrazzano.io/v1beta1
spec.components.ingressis renamed tospec.components.ingressNGINX.spec.components.kibanais renamed tospec.components.opensearchDashboardsspec.components.elasticsearchis renamed tospec.components.opensearchspec.components.fluentd.elasticsearchSecretis renamed tospec.components.fluentd.opensearchSecretspec.components.fluentd.elasticsearchURLis renamed tospec.components.fluentd.opensearchURLstatus.instance.kibanaUrlis renamed tostatus.instance.opensearchDashboardsUrlstatus.instance.elasticUrlis renamed tostatus.instance.opensearchUrl- Use
spec.components.opensearch.nodesinstead ofspec.components.elasticsearch.installArgs. - Use
spec.components.ingressNGINX.overridesinstead ofspec.components.ingress.nginxInstallArgs. - Use
spec.components.istio.overridesinstead ofspec.components.istio.istioInstallArgs. - Use
spec.components.istio.overridesinstead ofspec.components.istio.ingress. - Use
spec.components.istio.overridesinstead ofspec.components.istio.egress. - Use
spec.components.keycloak.overridesinstead ofspec.components.keycloak.keycloakInstallArgs. - Use
spec.components.verrazzano.overridesinstead ofspec.components.verrazzano.installArgs. - Use
spec.components.authProxy.overridesinstead ofspec.components.authProxy.kubernetes.
Co-installing previous Verrazzano versions
After installing Verrazzano version 1.4.0 or later, and not uninstalling it before installing versions of Verrazzano prior to 1.4.0, will result in the following error:
The CustomResourceDefinition "verrazzanos.install.verrazzano.io" is invalid: status.storedVersions[0]: Invalid value: "v1beta1": must appear in spec.versions
To resolve this error, delete the verrazzanos.install.verrazzano.io Custom Resource Definition:
$ kubectl delete customresourcedefinition verrazzanos.install.verrazzano.io
Multicluster
Some of the multicluster wrappers APIs, which are part of clusters.verrazzano.io/v1alpha1, are deprecated and will be removed in Verrazzano v2.0.0.
The APIs that will be removed are:
- MultiClusterComponent - Should be replaced with a
core.oam/dev/v1alpha2Component resource. - MultiClusterConfigMap - Should be replaced with a
core.oam/dev/v1alpha2Component resource. - MultiClusterSecret - Should be replaced with a Kubernetes Secret and referenced in the
spec.secretsof a MultiClusterApplicationConfiguration resource.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.