Skip to content

Instantly share code, notes, and snippets.

@kayrus
kayrus / deployment.yaml
Last active September 11, 2019 12:51
deployment status inconsistency
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
creationTimestamp: "2019-08-21T16:04:57Z"
generation: 13329
labels:
component: blackbox-exporter
garden.sapcloud.io/role: system-component
2019/09/12 13:00:05 [INFO] Terraform version: 0.12.8
2019/09/12 13:00:05 [INFO] Go runtime version: go1.12.9
2019/09/12 13:00:05 [INFO] CLI args: []string{"/home/user/bin/terraform", "apply"}
2019/09/12 13:00:05 [DEBUG] Attempting to open CLI config file: /home/user/.terraformrc
2019/09/12 13:00:05 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/09/12 13:00:05 [DEBUG] checking for credentials in "/home/user/.terraform.d/plugins"
2019/09/12 13:00:05 [INFO] CLI command args: []string{"apply"}
2019/09/12 13:00:05 [DEBUG] New state was assigned lineage "a5f048f1-6c04-f0aa-6ac2-8f00929de7a0"
2019/09/12 13:00:05 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2019/09/12 13:00:05 [TRACE] Meta.Backend: instantiated backend of type <nil>
@kayrus
kayrus / jeos-packages.txt
Created October 31, 2019 10:04
jeos-packages.txt
libisccfg160-9.11.2-lp151.11.3.1.x86_64
cracklib-dict-small-2.9.6-lp151.3.69.x86_64
bind-utils-9.11.2-lp151.11.3.1.x86_64
kbd-legacy-2.0.4-lp151.8.1.noarch
@kayrus
kayrus / volumes.go
Created January 25, 2021 12:42
gophercloud volumes list test
package main
import (
"fmt"
"net/http"
"github.com/gophercloud/gophercloud"
"github.com/gophercloud/gophercloud/openstack"
"github.com/gophercloud/gophercloud/openstack/blockstorage/v3/volumes"
"github.com/gophercloud/gophercloud/pagination"
@kayrus
kayrus / bufio-smtp.go
Last active August 31, 2022 20:51
bufio half closed tcp connections
package main
import (
"fmt"
"io"
"log"
"os"
"os/exec"
"strings"
"time"