#Sass Architecture Structure
sass/
|
|– base/
| |– _reset.scss # Reset/normalize
| |– _typography.scss # Typography rules
| ... # Etc…
|
| apiVersion: apps/v1 | |
| kind: DaemonSet | |
| metadata: | |
| name: fluentd-elasticsearch | |
| namespace: kube-system | |
| labels: | |
| k8s-app: fluentd-logging | |
| spec: | |
| selector: | |
| matchLabels: |
| apiVersion: apps/v1 | |
| kind: DaemonSet | |
| metadata: | |
| name: fluentd-elasticsearch | |
| namespace: kube-system | |
| labels: | |
| k8s-app: fluentd-logging | |
| spec: | |
| selector: | |
| matchLabels: |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: grafana-dashboards | |
| namespace: monitoring | |
| data: | |
| grafana-dashboard-1.json: |- | |
| { | |
| ... | |
| } |
| kubectl run my-shell --rm -i --tty --image ubuntu -- bash |
| apiVersion: rbac.authorization.k8s.io/v1 | |
| kind: Role | |
| metadata: | |
| name: your-namespace | |
| namespace: your-namespace | |
| rules: | |
| - apiGroups: | |
| - "" | |
| resources: | |
| - pods |
| docker ps -a | grep Exit | cut -d ' ' -f 1 | xargs sudo docker rm |
| apiVersion: apps/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| name: nginx-deployment | |
| spec: | |
| replicas: 3 | |
| template: | |
| metadata: | |
| labels: | |
| app: nginx |
#Sass Architecture Structure
sass/
|
|– base/
| |– _reset.scss # Reset/normalize
| |– _typography.scss # Typography rules
| ... # Etc…
|
| apiVersion: extensions/v1beta1 | |
| kind: DaemonSet | |
| metadata: | |
| name: node-problem-detector-v0.1 | |
| namespace: kube-system | |
| labels: | |
| k8s-app: node-problem-detector | |
| version: v0.1 | |
| kubernetes.io/cluster-service: "true" | |
| spec: |
| # Install Docker on Xenial 16.04.1 x64 | |
| # Ref https://docs.docker.com/engine/installation/linux/ubuntulinux/ | |
| # No interactive for now. | |
| export DEBIAN_FRONTEND=noninteractive | |
| # Update your APT package index. | |
| sudo apt-get -y update | |
| # Update package information, ensure that APT works with the https method, and that CA certificates are installed. | |
| sudo apt-get -y install apt-transport-https ca-certificates | |
| # Add the new GPG key. | |
| sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D |