- Cmd + T - create new tabs
- Cmd + W - Close the tab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: kiam-test | |
annotations: | |
iam.amazonaws.com/permitted: ".*" | |
--- | |
apiVersion: v1 | |
kind: Pod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"gopkg.in/fsnotify.v1" | |
) | |
// main | |
func main() { |
- to check validity
openssl s_client -connect google.com:443 2>/dev/null | openssl x509 -noout -text | grep -A3 "Validity";
- check details
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto | |
from boto.kinesis.exceptions import ResourceInUseException | |
import time | |
stream_name = "kinesis-fluent-bit-test" | |
region = 'eu-west-1' | |
kinesis = boto.kinesis.connect_to_region(region) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"text/tabwriter" | |
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
"k8s.io/client-go/kubernetes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Installation | |
``` | |
git clone https://pagure.io/fpaste.git | |
sudo make install | |
``` | |
* Usage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HTPASSWD_FILE="./htpass" | |
USERNAME="suraj1" | |
USERPASS="developer" | |
HTPASSWD_SECRET="htpasswd-secret1" | |
htpasswd -cb $HTPASSWD_FILE $USERNAME $USERPASS | |
oc get secret $HTPASSWD_SECRET -n openshift-config &> /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
labels: | |
run: nginx | |
name: nginx | |
spec: | |
containers: | |
- image: nginx | |
name: nginx |
- Writing a Custom Controller: Extending the Functionality of Your Cluster [I] - Aaron Levy(CoreOS): https://youtu.be/_BuqPMlXfpE
- Writing Kube Controllers for Everyone - Maciej Szulik, Red Hat (Beginner Skill Level): https://youtu.be/AUNPLQVxvmw
- Programming Kubernetes with the Go SDK [I] - Aaron Schlesinger, Deis: https://youtu.be/qiB4RxCDC8o
- TGI Kubernetes 007: Building a Controller - Heptio: https://youtu.be/8Xo_ghCIOSY
- TGI Kubernetes 008: Continuing the Controller - Heptio: https://youtu.be/fWkK-zsFtlU
- TGI Kubernetes 009: Finishing the Controller - heptio: https://youtu.be/wqhKCiGsf1Y
- Kubernetes Operators: Managing Complex Software with Software [I] - Josh Wood & Jesus Carrillo: https://youtu.be/cj5uk1uje_Y
- Deep Dive: Operator Framework BoF - Diane Mueller & Sebastian Pahl, Red Hat: https://youtu.be/fu7ecA2rXmc
NewerOlder