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
--- | |
- uri: | |
url: http://localhost:9200/stored-query | |
method: HEAD | |
status_code: 200,404 | |
register: index_status | |
- debug: var=index_status | |
- debug: msg="{{ lookup('file','stored-query.mapping.json') }}" | |
- uri: | |
url: http://localhost:9200/stored-query |
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 | |
cat ~/.ssh/id_rsa.pub | ssh $1@$2 'mkdir -p .ssh ; cat >> .ssh/authorized_keys'; | |
echo "inu ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/00-inu-ansible |
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 com.inu.frontend.storedquery | |
import org.elasticsearch.action.search.{SearchRequestBuilder, SearchResponse} | |
import spray.routing._ | |
import scala.concurrent.{ExecutionContext, Future} | |
import org.json4s._ | |
import org.json4s.native.JsonMethods._ | |
import shapeless.{::, HNil} |
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
curl -sSL https://raw.githubusercontent.com/kubernetes/kubernetes/$(kubectl version --client | grep -o -P '(?<=GitCommit:").*(?=",)')/contrib/completions/bash/kubectl | sudo tee /etc/bash_completion.d/kubectl |
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: alpine | |
namespace: default | |
spec: | |
containers: | |
- image: alpine:latest | |
command: |
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
RUN apk add --no-cache --virtual .fetch-deps curl \ | |
&& apk del .fetch-deps |
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
set -g prefix C-a | |
bind C-a send-prefix | |
bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
set -s escape-time 1 | |
set -g base-index 1 | |
set -g pane-base-index 1 |
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
[Unit] | |
Description=Kubernetes Kubelet | |
Documentation=https://github.com/kubernetes/kubernetes | |
Requires=docker.service | |
After=docker.service | |
[Service] | |
ExecStart=/usr/bin/kubelet \ | |
--register-node=false \ | |
--allow-privileged=true \ |
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: kube-controller | |
spec: | |
hostNetwork: true | |
volumes: | |
- name: "etc-kubernetes" | |
hostPath: | |
path: "/etc/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
[Unit] | |
Description=Kubernetes Kubelet | |
Documentation=https://github.com/kubernetes/kubernetes | |
After=calico-node.service | |
Requires=calico-node.service | |
[Service] | |
EnvironmentFile=/etc/network-environment | |
ExecStart=/usr/bin/kubelet \ | |
--address=0.0.0.0 \ |
OlderNewer