This action can be used to deploy a new Kubernetes cluster on public, private, and bare-metal environments.
Action inputs | Description |
---|---|
host Host |
(Optional) Spectro Cloud API endpoint. Default points to the Spectro Cloud SaaS endpoint: api.spectrocloud.com |
username Username |
Spectro Cloud Username (e.g: [email protected]) |
password Password |
Spectro Cloud Password (e.g: superSecure1#) |
clusterTemplate Cluster Template |
The cluster template definitition. Look at the samples for format with each cloud |
clusterNamePrefix Cluster Name Prefix |
(Optional) Prefix of the cluster name |
deletePostJob Delete Post Job |
(Optional) Delete the cluster after GitHub job completes |
- uses: spectrocloud/k8s-deploy-cluster@v1
with:
host: {enter Spectro Cloud API Endpoint (optional)}
username: {enter user's Spectro Cloud Username}
password: {enter user's Spectro Cloud Password}
deletePostJob: {enter true/false depending on whether to delete the cluster after job}
clusterNamePrefix: {enter name prefix}
clusterTemplate: {enter template config (see examples)}
id: deploycluster
Please note that all input except host
are required.
Refer to the Spectro Cloud Documentation for more information on how to retrieve the required properties.
Please file a GitHub issue for any support or questions regarding the integration.