https://github.com/rancher-plugins/rancher-machine-driver-oci
Oracle Cloud Infrastructure Driver Plugin for (Rancher) Docker Machine
https://github.com/rancher-plugins/rancher-machine-driver-oci
docker-machine oci oracle-cloud rancher
Last synced: about 2 months ago
JSON representation
Oracle Cloud Infrastructure Driver Plugin for (Rancher) Docker Machine
- Host: GitHub
- URL: https://github.com/rancher-plugins/rancher-machine-driver-oci
- Owner: rancher-plugins
- License: apache-2.0
- Created: 2020-03-05T20:50:21.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-01T20:37:56.000Z (over 2 years ago)
- Last Synced: 2024-06-20T17:45:33.500Z (almost 2 years ago)
- Topics: docker-machine, oci, oracle-cloud, rancher
- Language: Go
- Homepage:
- Size: 136 KB
- Stars: 7
- Watchers: 5
- Forks: 8
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rancher-machine-driver-oci
The Oracle Cloud Infrastructure (OCI) Driver for (Rancher) Docker Machine allows Rancher to create and manage Kubernetes clusters on OCI.
## Create and configure your cluster's Virtual Cloud Network (VCN)
(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](https://github.com/rancher/rke) has additional port requires for the different node types [detailed here](https://rancher.com/docs/rke/latest/en/os/#ports).
## Add OCI Node Driver for Rancher
1. From the Rancher Global view, choose Tools > Drivers > Node Drivers > Add Node Driver in the navigation bar.
2. Fill in the URLs of the latest Linux build of the [OCI Node Driver](https://github.com/rancher-plugins/rancher-machine-driver-oci) as well as the location of its [UI component](https://github.com/rancher-plugins/ui-node-driver-oci).
## Create Cloud Credentials for OCI
1. From your user settings, choose > Cloud Credentials > Add Cloud Credential.
2. Select "Oracle Cloud Infrastructure" from the drop down, and fill in your account credentials (tenancy, user, signing key, etc.).
## Provision Kubernetes cluster on OCI
1. From the Global view, choose Clusters > Add Cluster.
2. From the infrastructure providers, choose Oracle Cloud Infrastructure.
3. Fill in a cluster name, and add one or more Node Template(s) for the various node types (etcd, Control Plane, or Worker).
4. 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.
## Develop and Test
See [development](docs/development.md) for details.
## License
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](LICENSE) for more details.