The example code, is a very simple go app. It just prints some variables.
package main
import (
"fmt"
)
var (
The example code, is a very simple go app. It just prints some variables.
package main
import (
"fmt"
)
var (
curl -s https://api.github.com/repos/<user>/<repo>/releases/latest | grep -E 'browser_download_url' | grep linux_amd64 | grep -Eo 'https://[^\"]*' | xargs wget -O - | tar -xz
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
civo sshkey create key -k key.pub
Created an SSH key called key with ID 368a2903-92af-435b-aca4-6f361f409f37
civo instance create -i g3.medium -k 368a2903-92af-435b-aca4-6f361f409f37 -t 921fcb64-8abf-4a51-8823-027d9d75c1d4 -u root -w
The instance late-summit has been created
ssh -i key root@<ip>
server: | |
log_level: info | |
http_listen_port: 12345 | |
prometheus: | |
wal_directory: /tmp/wal | |
global: | |
scrape_interval: 15s | |
configs: | |
- job_name: 'http-tunnel' | |
static_configs: |
While browsing through Twitter or Youtube, I see all the cool chaos engineering frameworks like Chaos Mesh or LitmusChaos.
Without a doubt, these frameworks are amazing, and I would suggest to everybody to go and try them out. Saiyam Pathak has made some great videos about Chaos Mesh and Litmus and there will be a bigger meetup about Litmus coming.
The next option to provision your Civo Kubernetes Cluster is to use Pulumi. Pulumi is a modern infrastructure as code platform. It leverages existing programming languages ecosystem to interact with cloud resources through the Pulumi SDK.
In this tutorial we are going to show you how you can create a Civo Kubernetes Cluster with Pulumi. For the programming languages we choose Go.
If you would like to access further information on using the Civo Pulumi provider, please refer to the full guide