Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Krucible/krucible-github-action
A Github action for creating Kubernetes clusters using Krucible
https://github.com/Krucible/krucible-github-action
Last synced: 2 months ago
JSON representation
A Github action for creating Kubernetes clusters using Krucible
- Host: GitHub
- URL: https://github.com/Krucible/krucible-github-action
- Owner: Krucible
- Created: 2020-06-11T14:56:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-21T16:59:14.000Z (over 4 years ago)
- Last Synced: 2024-08-02T07:23:39.921Z (6 months ago)
- Language: Dockerfile
- Homepage: https://usekrucible.com
- Size: 15.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-actions - Create a Kubernetes Cluster for Testing Using Krucible
- fucking-awesome-actions - Create a Kubernetes Cluster for Testing Using Krucible
- awesome-workflows - Create a Kubernetes Cluster for Testing Using Krucible
README
Create Kubernetes cluster action
================================This action creates a Kubernetes cluster, optimised for testing, using [Krucible](https://usekrucible.com).
Example usage
-------------
```yaml
---
jobs:
create-and-test-cluster:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v2- name: Create a kubernetes cluster
uses: "Krucible/krucible-github-action@master"
id: create-cluster
with:
duration: 1
display-name: github-test-cluster
krucible-account-id: ${{ secrets.KRUCIBLEACCOUNTID }}
krucible-api-key-id: ${{ secrets.KRUCIBLEAPIKEYID }}
krucible-api-key-secret: ${{ secrets.KRUCIBLEAPIKEYSECRET }}- name: Run a kubectl command
uses: "docker://bitnami/kubectl:1.18"
id: run-kubectl
with:
args: 'get pods --all-namespaces'
```Inputs
------All inputs are required. API keys and the account ID can be found at https://usekrucible.com/api-keys.
### `display-name`
The display name of the cluster in Krucible.
### `duration`
The length of time the cluster should persist for in hours. Must either be the
string "permanent" or an integer between one and six.### `krucible-account-id`
The ID of the Krucible account.
### `krucible-api-key-id`
The ID of the Krucible API key.
### `krucible-api-key-secret`
The secret of the Krucible API key.
Outputs
------### `cluster-id`
The ID of the created Kubernetes cluster in Krucible.