Skip to content

Instantly share code, notes, and snippets.

Avatar

Anoop Vijayan Maniankara maniankara

View GitHub Profile
View kubernetes-csi-identity.proto
service Identity {
// return the version and name of the plugin
rpc GetPluginInfo(GetPluginInfoRequest)
returns (GetPluginInfoResponse) {}
// reports whether the plugin has the ability of serving the Controller interface
rpc GetPluginCapabilities(GetPluginCapabilitiesRequest)
returns (GetPluginCapabilitiesResponse) {}
// called by the CO just to check whether the plugin is running or not
rpc Probe (ProbeRequest)
returns (ProbeResponse) {}
@maniankara
maniankara / kubernetes-csi-versions.csv
Created Aug 12, 2018
Kubernetes CSI release versions and Kubernetes support
View kubernetes-csi-versions.csv
CONTAINER CSI-SPEC RELEASE KUBERNETES-SUPPORT
driver-registrar v0.3 v0.3.0 Beta (v1.11)
external-provisioner v0.3 v0.3.0 Beta (v1.11)
external-attacher v0.3 v0.3.0 Beta (v1.11)
@maniankara
maniankara / LICENSE-2.0
Last active May 26, 2018
Get your local ip
View LICENSE-2.0
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
@maniankara
maniankara / Airam_kirkas_valkoinen_lamput_suomi.csv
Last active May 3, 2018
A comparison of AIRAM's white lamps in Finland.
View Airam_kirkas_valkoinen_lamput_suomi.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 7 columns, instead of 2. in line 9.
KAUPPA,E-LOUKKA,LUMEN,KELVIN,WATTI,HINTA,URL
IKEA, E27, 1000lm, 4000k, 11W, 9.99€, https://www.ikea.com/fi/fi/catalog/products/80347851/
IKEA, E27, 600lm, 4000k, 7W, 7.99€, https://www.ikea.com/fi/fi/catalog/products/70347856/
K-RAUTA, E27, 1060lm, 4000k, 12W, 13.95€, https://www.k-rauta.fi/rautakauppa/led-pakkaslamppu-airam-12w-e27-1060lm-4000k--40c
K-RAUTA, E27, 806lm, 4000k, 9.5W, 9.95€, https://www.k-rauta.fi/rautakauppa/led-pakkaslamppu-airam-9-5w-e27-806lm-4000k--40c
VERKKOKAUPPA.COM, E27, 806lm, 4000k, 10W, 21.90€, https://www.verkkokauppa.com/fi/product/2281/hkngf/Airam-Radar-erikoisled-10-W-liiketunnistinlamppu-E27-kanta-4
VERKKOKAUPA.COM, E27, 810lm, 4000k, 10.5W, 19.90€, https://www.verkkokauppa.com/fi/product/39017/hknmv/Airam-CRI90-Led-10-5-W-vakiokupu-E27-kantaan
BAUHAUS, E27, 500m, 4000k, 5.5W, 5.50€, https://www.bauhaus.fi/koristelamppu-airam-led-5-5-w-4000-k.html
BAUHAUS, E27, 806m, 4000k, 8.5W, 9.95€, https://www.bauhaus.fi/vakiolamppu-airam-8-5-w-4000-k-himmennettava.html
BAUHAUS, E
@maniankara
maniankara / Airam_kirkas_valkoinen_lamput_suomi.csv
Created May 3, 2018
Here is a comparison of AIRAM's white lamps in Finland.
View Airam_kirkas_valkoinen_lamput_suomi.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 7 columns, instead of 8. in line 5.
KAUPPA,E-LOUKKA,LUMEN,KELVIN,WATTI,HINTA,URL
IKEA, E27, 1000lm, 4000k, 11W, 9.99, https://www.ikea.com/fi/fi/catalog/products/80347851/
IKEA, E27, 600lm, 4000k, 7W, 7.99, https://www.ikea.com/fi/fi/catalog/products/70347856/
K-RAUTA, E27, 1060lm, 4000k, 12W, 13.95, https://www.k-rauta.fi/rautakauppa/led-pakkaslamppu-airam-12w-e27-1060lm-4000k--40c
K-RAUTA, E27, 806lm, 4000k, 9.5W, 9.95, https://www.k-rauta.fi/rautakauppa/led-pakkaslamppu-airam-9-5w-e27-806lm-4000k--40c
VERKKOKAUPPA.COM, E27, 806lm, 4000k, 10W, 21,90, https://www.verkkokauppa.com/fi/product/2281/hkngf/Airam-Radar-erikoisled-10-W-liiketunnistinlamppu-E27-kanta-4
VERKKOKAUPA.COM, E27, 810lm, 4000k, 10.5W, 19,90, https://www.verkkokauppa.com/fi/product/39017/hknmv/Airam-CRI90-Led-10-5-W-vakiokupu-E27-kantaan
View test.bash
anoop@myMac ~ $ jx init
? Cloud Provider gke
Trying to create ClusterRoleBinding cluster-admin-cluster-admin-binding for role: cluster-admin for user cluster-admin
clusterrolebinding "cluster-admin-cluster-admin-binding" created
Created ClusterRoleBinding cluster-admin-cluster-admin-binding
Created ServiceAccount tiller in namespace kube-system
Trying to create ClusterRoleBinding tiller for role: cluster-admin and ServiceAccount: kube-system/tiller
Created ClusterRoleBinding tiller
Initialising helm using ServiceAccount tiller in namespace kube-system
$HELM_HOME has been configured at /Users/xxxx/.helm.
@maniankara
maniankara / helm-common-errors_medium.md
Last active Apr 22, 2018
Embed for medium article for helm quick hands-on guide
View helm-common-errors_medium.md
Description Error Resolution
Authorisation error Error from server (Forbidden): clusterrolebindings.rbac.authorization.k8s.io is forbidden: User "xxxxxx" cannot create clusterrolebindings.rbac.authorization.k8s.io at the cluster scope: Required "container.clusterRoleBindings.create" permission. Your user account is lacking permissions, see section 'Elevate privileges for ClusterRoleBindings'
@maniankara
maniankara / helm-versions_medium.csv
Created Apr 22, 2018
Embed for medium article about quick guide to helm
View helm-versions_medium.csv
Entity Version
kubectl client 1.9.3
helm client 2.8.2
GKE kubernetes version v1.9.6-gke.1
View create-helm-service-account.yaml
# This is an extract from here: http://jayunit100.blogspot.fi/2017/07/helm-on.html
apiVersion: v1
kind: ServiceAccount
metadata:
name: helm
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
View jx-troubleshooting_medium.md
Description Error Resolution
No Jenkins service found in development namespace  anoop@myMac ~ $ jx create lile
? Pick a name for the new project: mygrpc
Created lile project at mygrpcect: (myapp)
mygrpc error: no Jenkins service be found in the development namespace!
Are you sure you installed Jenkins X? Try: http://jenkins-x.io/getting-started/
anoop@myMac ~ $
Your user account is lacking permissions, see section 'Elevate privileges for ClusterRoleBindings'
jx hangs/kubectl top node shows heavy load  anoop@myMac ~ $ kubectl top nodes | awk {'print $1 " " $3'}
NAME CPU%
gke-jx-default-pool-47e201fa-hwc9 14%
gke-jx-default-pool-47e201fa-pjmd 82%
gke-jx-default-pool-47e201fa-v3cl 23%
Increase the number of nodes atleast to 4
jenkins-maven node offline [Pipeline] node
Still waiting to schedule task
All nodes of label ‘jenkins-maven’ are offline
check the status of all th