Forum Stats

  • 3,824,981 Users
  • 2,260,447 Discussions


Notice: deprecated with Oracle Container Services 1.1.13 and higher

Avi Miller-Oracle
Avi Miller-Oracle Senior Solution Architect, Oracle Cloud Infrastructure Developer AdoptionMelbourne, AustraliaPosts: 4,824 Employee
edited Aug 7, 2019 4:40PM in Containers and Orchestration
Oracle Container Services for Use with Kubernetes 1.1.13 and 1.1.14 are currently available as Developer Previews only. Oracle does not provide support for and recommends against production usage of pre-release software.

With the release of Oracle Container Services for Use with Kubernetes 1.1.13, the and scripts have been deprecated in favour of the new kubeadm-ha-setup tool which replaces both of the older scripts and includes new functionality. There is feature parity between the older scripts and the new tool, so existing commands will still work. For more information about the new kubeadm-ha-setup tool, please consult the Oracle Container Services for Use with Kubernetes User Guide.

Upgrading a cluster created with

Before upgrading an existing cluster created with you need to create or edit the ha.yaml file at /usr/local/share/kubeadm/run/kubeadm/ha.yaml to provide information about the existing cluster include IP address information for the master nodes:

clusters:- name: master  # API Server Loadbalancer IP address. Used with the '--lb' flag  # Note: if this attribute is active "vip" is not required.  load_balancer: X.X.X.X  # API Server Floating IP address. vip represents Virtual IP, keepalived  # assigns the role to the appropriate node and manages the virtual IP (VIP)  # between the master nodes. This option is only needed when 'load_balancer'  # is not used(keepalived).  # vip: X.X.X.1  # Master nodes for the cluster. Valid number of nodes are: 1 or 3.    nodes:  - X.X.X.2  - X.X.X.3  - X.X.X.4  # SSH key for setup of remote master nodes. Only applies for >1 'nodes'  private_key: /root/.ssh/id_rsa  # SSH key for setup of remote master nodes. Only applies for >1 'nodes'  user: root  # The repository location of all the k8s docker images.  # Note: please remove any trailing "/" from the registry url address.  image:  k8sversion: v1.12.7  # kubeadm token has to be in the format as shown below  # [0-9a-z](6).[0-9a-z](16)  #token: 5nvo0q.kkroptfdwm7hihgf  # Kubernetes API Server extra sans. IP address(es) separated by ","  #apiserver_cert_extra_sans:,  # Kubernetes service CIDR (default:  #service_cidr:  # Kubernetes pod cidr (default:  #pod_cidr:  # Kubernetes API Server bind port (default: 6443)  #apiserver_bind_port: 6443  # API advertised address for internal routing to the API Server  #apiserver_advertise_address:  # Kubernetes proxy routing mode. Choices are: iptables, ipvs. (default: iptables)  #kube_proxy_mode: iptables

Once this file is created, follow the steps documented in the Updating the High Availability Cluster chapter of the Oracle Container Services for Use with Kubernetes User Guide to complete the upgrade.