kubectl -n kube-system create sa tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 cv2, numpy as np, csv | |
#https://github.com/opencv/opencv/blob/master/samples/dnn/openpose.py | |
outfile_path = '/home/stephen/Desktop/workout.csv' | |
protoFile = "/home/stephen/pose/mpi/pose_deploy_linevec_faster_4_stages.prototxt" | |
weightsFile = "/home/stephen/pose/mpi/pose_iter_160000.caffemodel" | |
net = cv2.dnn.readNetFromCaffe(protoFile, weightsFile) | |
data, input_width, input_height, threshold, frame_number = [], 368, 386, 0.1, 0 |
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
# Go parameters | |
GOCMD=go | |
GOBUILD=$(GOCMD) build | |
GOCLEAN=$(GOCMD) clean | |
GOTEST=$(GOCMD) test | |
GOGET=$(GOCMD) get | |
BINARY_NAME=mybinary | |
BINARY_UNIX=$(BINARY_NAME)_unix |
This list has moved to a GitHub repo for easier tracking: https://github.com/coreos/awesome-kubernetes-extensions
Please comment below if you are using Kubernetes Third-Party Resources and I will add you to the list.
Known Users:
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
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
input { | |
file { | |
type => "IISLog" | |
path => "C:/inetpub/logs/LogFiles/W3SVC*/*.log" | |
start_position => "beginning" | |
} | |
} | |
filter { |
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
input { | |
file { | |
path => "/home/jrwren/src/logstash-1.4.2/access.log" | |
start_position => beginning | |
} | |
} | |
filter { | |
if [path] =~ "access" { | |
grok { | |
match => { "message" => "%{COMBINEDAPACHELOG}%{GREEDYDATA:message_remainder}" } |
Allow routing allocations:
curl -XPUT localhost:9200/_cluster/settings -d '{
"transient" : {
"cluster.routing.allocation.enable" : "all"
}
}'
##Install AWS CLI Tools##
- Install AWS CLI Tools. You can also use the EC2 API Tool if you are more comfortable with them. But this write-up uses the EC2 CLI.
- Create a user via Amazon IAM or download the security accessID and securitykey you will need it to query Amazon CLI.
- using Terminal cd into .aws directory
cd ~/.aws
edit or create new file namedconfig
paste the following contents inside.- `[default]`
- `aws_access_key_id = ACCESS_ID`
- `aws_secret_access_key = SECRET_ID`
- `output = json OR bson OR text`
- `region = PREFERRED_AWS_REGION`
Save the file as "config"
NewerOlder