This file contains hidden or 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
| [Unit] | |
| Description=Minikube | |
| [Service] | |
| Type=oneshot | |
| TimeoutStartSec=300 | |
| User=kozikow | |
| ExecStart=/usr/local/bin/minikube start --show-libmachine-logs=true ; \ | |
| /usr/local/bin/minikube ssh "mkdir -p /home/kozikow/git_repos && sudo mount -t vboxsf git_repos /home/kozikow/git_repos" ; \ | |
| /usr/local/bin/minikube ssh "mkdir -p /home/kozikow/.config && sudo mount -t vboxsf config /home/kozikow/.config" |
This file contains hidden or 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 gcr.io/all-the-codes/docker_base_arch:0.2 | |
| ARG docker_airflow_version | |
| ENV DOCKER_IMAGE_VERSION ${docker_airflow_version} | |
| # Although oauth2client is already installed something downgrades it (not cryptography), so it needs to be upgraded again | |
| # Install airflow and dependencies. | |
| # cryptography is required for generating ferret keys. | |
| RUN yaourt -Sy --noconfirm python-psycopg2 && \ | |
| yaourt -Scc --noconfirm && \ |
This file contains hidden or 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: | |
| creationTimestamp: null | |
| name: webserver | |
| spec: | |
| strategy: {} | |
| template: | |
| metadata: | |
| creationTimestamp: null |
This file contains hidden or 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
| (require 'elscreen) | |
| (require 'helm-elscreen) | |
| (require 'hydra) | |
| (defvar tmux-tabs-mode-map (make-sparse-keymap) | |
| "tmux-tabs-mode's keymap.") | |
| (evil-define-motion tmux-tabs-goto-tab (&optional count) | |
| (if count | |
| (elscreen-goto (- count 1)) |
This file contains hidden or 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 os | |
| from datetime import datetime, timedelta | |
| from typing import List | |
| import requests | |
| from k8s.io.kubernetes.pkg.api.v1 import generated_pb2 as v1 | |
| from k8s.io.kubernetes.pkg.apis.batch.v1 import generated_pb2 as batch_v1 | |
| from k8s.io.kubernetes.pkg.runtime import generated_pb2 as runtime | |
| VND_KUBERNETES_PROTOBUF = "application/vnd.kubernetes.protobuf" |
This file contains hidden or 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: | |
| name: webserver | |
| spec: | |
| template: | |
| metadata: | |
| creationTimestamp: null | |
| labels: | |
| app: airflow |
This file contains hidden or 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
| Found binary path at /usr/local/bin/minikube | |
| Launching plugin server for driver virtualbox | |
| Plugin server listening at address 127.0.0.1:35683 | |
| () Calling .GetVersion | |
| Using API Version 1 | |
| () Calling .SetConfigRaw | |
| () Calling .GetMachineName | |
| (minikubeVM) Calling .GetMachineName | |
| (minikubeVM) Calling .DriverName | |
| (minikubeVM) Calling .PreCreateCheck |
This file contains hidden or 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
| Starting local Kubernetes cluster... | |
| Running pre-create checks... | |
| Creating machine... | |
| (minikubeVM) Downloading /home/kozikow/.minikube/cache/boot2docker.iso from file:///home/kozikow/.minikube/cache/iso/minikube-0.6.iso... | |
| (minikubeVM) Creating VirtualBox VM... | |
| (minikubeVM) Creating SSH key... | |
| (minikubeVM) Starting the VM... | |
| (minikubeVM) Check network to re-create if needed... | |
| (minikubeVM) Waiting for an IP... | |
| Waiting for machine to be running, this may take a few minutes... |
This file contains hidden or 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
| --- ~ » minikube logs | |
| ==> /var/lib/localkube/localkube.err <== | |
| Starting etcd... | |
| Starting apiserver... | |
| Starting controller-manager... | |
| Starting scheduler... | |
| Starting kubelet... | |
| Starting proxy... | |
| Starting dns... |
This file contains hidden or 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
| --- ~ » ip a | |
| 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 | |
| link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 | |
| inet 127.0.0.1/8 scope host lo | |
| valid_lft forever preferred_lft forever | |
| inet6 ::1/128 scope host | |
| valid_lft forever preferred_lft forever | |
| 2: enp0s31f6: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 | |
| link/ether 54:ee:75:9e:2a:c8 brd ff:ff:ff:ff:ff:ff | |
| 3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 |