How To Create K8S Cluster Using Qbert API And Private Docker Registry

Problem

  • How to use the Qbert API to create new K8S cluster?
  • How to create a k8s cluster using Qbert API and Private Docker Registry

Environment

  • Platform9 Managed Kubernetes - all version

Procedure

Before creating cluster you need to setup a docker repository with all required docker images

  • Generate a Keystone authentication token with project scope by following Keystone Identity API.
  • Use below API to create a new cluster with private docker repository
Bash
Copy
  • Once the cluster is created attach a node as master using below API call
Bash
Copy
  • Once master node is attached to the cluster and becomes ready, you can attach worker node using same API call to add the node changing 'isMaster' parameter to false

Additional Information

Docker Images
NameVersion
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard