Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Utkarsh Mani Tripathi utkarshmani1997

🎯
Focusing
Block or report user

Report or block utkarshmani1997

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View hello.go
package main
import (
"fmt"
"net/http"
)
func handler(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hi there, the end point is : %s !", r.URL.Path[1:])
}
View weave net describe
Name: weave-net-t88k6
Namespace: kube-system
Node: kubeminion-02/172.28.128.5
Start Time: Wed, 11 Oct 2017 05:09:52 +0000
Labels: controller-revision-hash=2720543195
name=weave-net
pod-template-generation=1
Annotations: kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"DaemonSet","namespace":"kube-system","name":"weave-net","uid":"8f898ca2-ae41-11e7-b962-021c6f7dbe9d","apiV...
Status: Running
IP: 172.28.128.5
View percona describe
Name: percona
Namespace: default
Node: kubeminion-02/172.28.128.5
Start Time: Wed, 11 Oct 2017 07:15:34 +0000
Labels: name=percona
Annotations: <none>
Status: Running
IP: 10.36.0.3
Containers:
percona:
View percona logs
chown: changing ownership of '/var/lib/mysql/mysql/proc.frm': Read-only file system
chown: changing ownership of '/var/lib/mysql/mysql/ndb_binlog_index.MYD': Read-only file system
chown: changing ownership of '/var/lib/mysql/mysql/engine_cost.ibd': Read-only file system
chown: changing ownership of '/var/lib/mysql/mysql/proxies_priv.frm': Read-only file system
chown: changing ownership of '/var/lib/mysql/mysql/db.MYI': Read-only file system
chown: changing ownership of '/var/lib/mysql/mysql/ndb_binlog_index.frm': Read-only file system
chown: changing ownership of '/var/lib/mysql/mysql/time_zone_transition.ibd': Read-only file system
chown: changing ownership of '/var/lib/mysql/mysql/columns_priv.MYD': Read-only file system
chown: changing ownership of '/var/lib/mysql/mysql/slave_relay_log_info.frm': Read-only file system
chown: changing ownership of '/var/lib/mysql/mysql/event.MYD': Read-only file system
View pvc
NAME STATUS VOLUME CAPACITY ACCESSMODES STORAGECLASS AGE
demo-vol1-claim Bound pvc-88f44679-aa6a-11e7-b2db-021c6f7dbe9d 1G RWO openebs-percona 29m
View pv desc
Name: pvc-2f7d7e35-a9b5-11e7-b516-021c6f7dbe9d
Labels: <none>
Annotations: openEBSProvisionerIdentity=kubeminion-01
pv.kubernetes.io/provisioned-by=openebs.io/provisioner-iscsi
StorageClass: openebs-percona
Status: Released
Claim: default/demo-vol1-claim
Reclaim Policy: Delete
Access Modes: RWO
Capacity: 1G
View pv
NAME CAPACITY ACCESSMODES RECLAIMPOLICY STATUS CLAIM STORAGECLASS REASON AGE
pvc-2f7d7e35-a9b5-11e7-b516-021c6f7dbe9d 1G RWO Delete Released default/demo-vol1-claim openebs-percona 22h
pvc-5be654b5-a9c1-11e7-b516-021c6f7dbe9d 1G RWO Delete Released default/demo-vol1-claim openebs-percona 20h
pvc-88f44679-aa6a-11e7-b2db-021c6f7dbe9d 1G RWO Delete Bound default/demo-vol1-claim openebs-percona 26m
pvc-91fb7282-a9c3-11e7-b516-021c6f7dbe9d 1G RWO Delete Bound default/vut openebs-basic 20h
View sc
NAME TYPE
openebs-basic openebs.io/provisioner-iscsi
openebs-jupyter openebs.io/provisioner-iscsi
openebs-percona openebs.io/provisioner-iscsi
View services
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes 10.96.0.1 <none> 443/TCP 1d
maya-apiserver-service 10.99.14.213 <none> 5656/TCP 26m
pvc-88f44679-aa6a-11e7-b2db-021c6f7dbe9d-ctrl-svc 10.105.151.134 <none> 3260/TCP,9501/TCP 25m
View pods all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
default maya-apiserver-2630932018-q1f1q 1/1 Running 0 25m
default openebs-provisioner-3312871894-bdlbb 0/1 CrashLoopBackOff 9 25m
default percona 1/1 Running 0 24m
default pvc-88f44679-aa6a-11e7-b2db-021c6f7dbe9d-ctrl-2641453286-rrj77 1/1 Running 0 24m
default pvc-88f44679-aa6a-11e7-b2db-021c6f7dbe9d-rep-4194339105-644gm 1/1 Running 0 24m
kube-system etcd-kubemaster-01 1/1 Running 1 1d
kube-system kube-apiserver-kubemaster-01 1/1 Running 1 1d
kube-system kube-controller-manager-kube
You can’t perform that action at this time.