Users must create and configure a cluster policy before creating a Kubernetes cluster. Cluster policies are reusable, and may be to multiple clusters. Cluster policy reuse simplifies cluster configuration.
Nirmata provides default cluster policies for all major cloud providers. Use the default polices as-is, or customize them to suit your needs.
Create Cluster Policy
To create a Cluster Policy:
-
Click Policies in the left navigation and select Cluster Policies.
-
Click on Add Cluster Policy.
The add cluster policy overlay appears.
-
Enter a Name for the new cluster policy.
-
Enter a Description for the new cluster policy.
-
Select Cluster Type from the drop down menu. Options include:
- Existing Clusters
- Installed Clusters
- Managed Clusters (EKS, AKS, GKE)
Select the cluster type most applicable to the policy you are creating.
-
Choose a Cloud Provider from the drop-down list.
-
Click the Next button.
-
Select a Kubernetes version for the new cluster policy from the drop down list.
-
Check the box if you wish to Disable Scheduling on Master Nodes.
-
Click the Next button.
-
Choose the cluster add-ons you want applied to the cluster policy by checking the box to the right for each add-on selected.
-
Click the Finish button to continue.
Nirmata creates the new cluster policy and returns the user to the Cluster Policy Details page.
Note: if Cloud Provider is not specified, Nirmata creates the policy using AWS as the default provider.
Next steps: configure the new cluster policy. See Configuring Cluster Policies for additional details.