Upgrade Cluster and Node Pool Using Script
You can use the upgrade_cluster.py
script to upgrade
the Kubernetes version of the cluster and the node pools in your Oracle WebLogic Server for
OKE stack.
The script upgrades the cluster and the node pool to the specified target version.
After you upgrade make sure that your kubectl
version
aligns with the Kubernetes version of the cluster.
Prerequisites:
- Access the administration instance. See Access the Administration Instance.
- Run the following command:
sudo bash python3 -m pip install oci==2.90
If the
pip
command fails, then use theyum
command to install OCI Python SDK.yum install python36-oci-sdk
Upgrade the cluster and node pool using the script
You can use the script to upgrade the cluster, the node pool, or both cluster and node pool.