Kind
Each object in Control Plane Platform belongs to a kind. These are the fundamental pieces you will create, manage and design the relationship between, such asWorkload, VolumeSet, Agent, Service Account and more.
Each instance of a kind is referred to as item in the platform. Our API drives all of the other clients (Terraform Provider, UI Console, CPLN CLI) and when a request is made to our API, it will usually act on a single item or multiple items (instances of a kind).
Context
All of the clients work better within a context, which is a pair of anorg item, and a gvc item. This makes it easier for the clients to refer to items within an org/gvc.
Some kinds are scoped to a gvc, while others are scoped to an org. Workload, Identity, and VolumeSet kinds are scoped under gvc, while all other kinds are scoped under org.
Links
Eachitem is accessible by its link. This is a url/address for the item and is an essential part of the platform. There are two ways to structure the link of an item, which is called a selfLink. These types are fullLink and relativeLink. When a kind is scoped to a gvc, its relative link must include gvc name.
Relative link relies on the
context set in the client that is being used.| Kind | Item Name | Full Link | Relative Link |
|---|---|---|---|
| Org | myorg | /org/myorg | NA |
| Secret | mysecret | /org/myorg/secret/mysecret | //secret/mysecret |
| GVC | mygvc | /org/myorg/gvc/mygvc | //gvc/mygvc |
| Workload | myworkload | /org/myorg/gvc/mygvc/workload/myworkload | //gvc/mygvc/workload/myworkload |
Clients
There are multiple ways to use the platform, which are ourclients. Such as the UI Console, CPLN API, CPLN CLI, Terraform Provider Plugin, Pulumi.
Containers
Refer to the Kubernetes containers concepts page.Grafana Alerts
Alerts can be created from the Org’s Grafana instance. Refer to these instructions on how to create a Grafana managed alert.Built-in Alert Rules
The Grafana instance accessed via the “Metrics” link of your Workload comes with several automatically provisioned objects, including built-in alert rules. These rules can send notifications to one or several of your preferred contact points (e.g., email). By default, notifications for these alerts are disabled. To receive notifications, you must add a contact point (refer to the Grafana documentation). You can find the built-in alert rules in your Grafana instance underAlerts > Alert rules:
-
container-restarts- This alert triggers if any of your workloads restart repeatedly. Specifically, it activates if the Control Plane custom metric
container_restartsis greater than 1 in the last 5 minutes.
- This alert triggers if any of your workloads restart repeatedly. Specifically, it activates if the Control Plane custom metric
-
stuck-deployments- This alert triggers if any of your deployments are stuck.
- It checks for multiple container restarts within specific groups (gvc and workload). If any group exceeds one restart in the last 15 minutes, it triggers an alert.
Alerts > Alert rules section in your Grafana instance.
If you edit built-in alerts, your changes will be saved. However, if you delete any built-in alerts, they will be recreated automatically the next time you log in to Grafana.
To disable built-in alerts, edit the corresponding alert rule and turn on the Pause evaluation toggle in the alert editing view.
Public IPs
The list of public IPs for each cloud provider and region can be obtained.- Console UI
- CLI
- API
Navigate to
Locations list page from the main navigation bar.
Select a location and you will see the ip ranges are listed in the info page.Workload Deployment Errors
Error: exitCode: 1 message: standard_init_linux.go:228: exec user process caused: exec format error- The incorrect platform was used to build the configured image. Control Plane requires the image target
amd64. Refer to the Push an Image Guide for additional details.
- The incorrect platform was used to build the configured image. Control Plane requires the image target