The Oracle Cloud Infrastructure (OCI) Driver for (Rancher) Docker Machine allows Rancher to create and manage Kubernetes clusters on OCI.
(Rancher) Docker Machine requires the VCN in which you want to create nodes to:
- allow inbound traffic to port 22 (SSH) to the node subnet.
- allow inbound traffic to port 2376 (Docker) to the node subnet.
In addition to the above ports, RKE has additional port requires for the different node types detailed here.
-
From the Rancher Global view, choose Tools > Drivers > Node Drivers > Add Node Driver in the navigation bar.
-
Fill in the URLs of the latest Linux build of the OCI Node Driver as well as the location of its UI component.
-
From your user settings, choose > Cloud Credentials > Add Cloud Credential.
-
Select "Oracle Cloud Infrastructure" from the drop down, and fill in your account credentials (tenancy, user, signing key, etc.).
-
From the Global view, choose Clusters > Add Cluster.
-
From the infrastructure providers, choose Oracle Cloud Infrastructure.
-
Fill in a cluster name, and add one or more Node Template(s) for the various node types (etcd, Control Plane, or Worker).
-
After you've created a template(s), use them to provision a new Kubernetes cluster on OCI.
You can access the cluster after its state is updated to Active.
See development for details.
Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
rancher-machine-driver-oci
is licensed under the Apache License 2.0.
See LICENSE for more details.