This repository contains the Open Telekom Cloud CCE cluster driver for the rancher server.
!Important note: The current available Kontainer Engine Driver for OTC is not up to date and does not work properly. You need to update the Driver to the latest version to get this properly running. We have an open issue to get this fixed @Rancher, but the approval is currently missing.
Frontend part:
make build
Will output driver binaries into the bin
directory, these can be imported
directly into Rancher and used as cluster drivers. They must be distributed
via URLs that your Rancher instance can establish a connection to and download
the driver binaries. For example, this driver is distributed via a GitHub
release and can be downloaded from one of those URLs directly.
-
Open
Rancher
-
Go to the
Cluster Drivers
management screen in Rancher. -
Go to
Drivers
->Cluster Drivers
and search forOpen Telekom Cloud CCE
click three dotted menu and thenEdit
-
or you can just click
Add Cluster Driver
. -
Enter Download URL:
- Using exact version:
https://otc-rancher.obs.eu-de.otc.t-systems.com/cluster/driver/1.1.1/kontainer-engine-driver-otccce_linux_amd64.tar.gz
- Using the latest version:
https://otc-rancher.obs.eu-de.otc.t-systems.com/cluster/driver/latest/kontainer-engine-driver-otccce_linux_amd64.tar.gz
- Using exact version:
-
Enter the Custom UI URL:
- Using exact version:
https://otc-rancher.obs.eu-de.otc.t-systems.com/cluster/ui/v1.2.0/component.js
. - Or latest:
https://otc-rancher.obs.eu-de.otc.t-systems.com/cluster/ui/latest/component.js
.
- Using exact version:
-
Add Whitelist Domains with value
*.otc.t-systems.com
. -
Click
Save
if you are in edit mode of existing driver orCreate
for new one, and wait for driver status to beActive
. -
Cluster driver for OpenTelekomCloud CCE service will be available to use on the
Cluster:Create
screen.
To make successfully connection of all Rancher agents to your cluster you must give access to internet for you nodes. For example, you can do that by creating
NAT Gateway
for VPC where your cluster will be hosted. Then addSNAT
rule for yourVPC
andsubnet
and passingEIP
-
Go to
Clusters
and clickCreate
-
Click on
Open Telekom Cloud CCE
-
Choose authentication method
AK/SK
orToken-based
, and fill required fields, such asRegion
,Domain Name
,Project Name
,Username
,Password
,Access Key Id
,Secret Access Key
.Then click
Next: Configure Cluster
. -
On
Cluster Configuration
chooseKubernetes version
Cluster flavor
,Network mode
andCIDR
.Then click
Next: Network Configuration
. -
On
Network Configuration
chooseVPC
from list of created Vpcs and chooseSubnet
.Then click
Next: Cluster Floating IP
. -
On
Cluster Floating IP
you can create new IP with selected bandwidth size or use existing one.Then click
Next: Node Configuration
. -
On
Node Configuration
chooseNode Count
Take more than 2 nodes, rancher wants a lot of resources
Node OS
,Availability Zone
,Key Pair
andNode Flavor
Node Flavor
list depends on selectedAvailability Zone
, so please chooseaz
first.Then click
Next: Nodes disk configuration
. -
On
Node Configuration
selectRoot Disk Type
andData Disk Type
andsizes
.Then click
Finish & Create Cluster
.
Sometimes
Rancher
didn't show cluster in clusters list till end of provisioning cluster nodes, please wait and check console.
Copyright 2023 T-Systems GmbH
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.