- Kubernetes RBAC --> largely based on OpenShift RBAC
- Kubernetes Pod Security Policy --> largely based on OpenShift Security Context Constraints
- Kubernetes Ingress --> preceded by OpenShift Routes
- Kubernetes Deployments --> preceded by OpenShift Deployment Config
- Network Policy --> preceded by OpenShift Multi-tenant SDN
🤷♂️
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "", | |
"Effect": "Allow", | |
"Action": [ | |
"glue:GetTableVersions" | |
], | |
"Resource": "*" |
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
Description: > | |
This template deploys a Fluent Bit Daemonset to an ECS Cluster | |
Parameters: | |
EnvironmentName: | |
Description: An environment name that will be prefixed to resource names | |
Type: String | |
DockerImage: | |
Description: The Fluent Bit Docker image. | |
Type: String |
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
FROM ubuntu:16.04 | |
MAINTAINER Michael Hausenblas, mhausenblas.info | |
USER 1001 | |
WORKDIR /app | |
RUN chown -R 1001:1 /app | |
# install ttyd and kubed-sh | |
RUN curl -s -L https://github.com/tsl0922/ttyd/releases/download/1.4.2/ttyd_linux.x86_64 -o ttyd && \ | |
chmod +x ttyd && \ |
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: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
labels: | |
run: hello-world | |
name: hello-world | |
namespace: default | |
spec: | |
selector: | |
matchLabels: |
Based on the official docs and the Banzai Cloud blog post by Toader Sebastian.
Environment:
$ minishift version
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: | |
name: envfromsecret | |
spec: | |
containers: | |
- name: shell | |
image: centos:7 | |
command: | |
- "bin/bash" |
See also:
The bash has three default file descriptors for each process:
Also, check out this kubectl cheatsheet.
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
Month | International airline passengers: monthly totals in thousands. Jan 49 ? Dec 60 | |
---|---|---|
1949-01 | 112 | |
1949-02 | 118 | |
1949-03 | 132 | |
1949-04 | 129 | |
1949-05 | 121 | |
1949-06 | 135 | |
1949-07 | 148 | |
1949-08 | 148 | |
1949-09 | 136 |