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: Service | |
metadata: | |
name: wordpress-mysql-ebs | |
labels: | |
app: wordpress | |
spec: | |
ports: | |
- port: 3306 | |
selector: |
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
rook: starting Rook v0.6.0-183.g62cf293.dirty with arguments '/usr/local/bin/rook operator' | |
rook: flag values: --help=false, --log-level=INFO, --mon-healthcheck-interval=20s, --mon-out-timeout=5m0s | |
rook: starting operator | |
op-k8sutil: cluster role rook-agent already exists. Updating if needed. | |
op-agent: discovered flexvolume dir path from source NodeConfigControllerManager. value: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/ | |
op-agent: rook-agent daemonset started | |
operator: rook-provisioner started | |
op-cluster: start watching clusters in all namespaces | |
op-cluster: starting cluster in namespace rook | |
op-mon: start running mons |
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: nginx | |
namespace: default | |
spec: | |
containers: | |
- name: nginx | |
image: nginx | |
volumeMounts: |
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
$ kubectl get --raw /api/v1/nodes/minikube/proxy/configz | |
{"componentconfig":{"Controllers":["*"],"Port":10252,"Address":"0.0.0.0","UseServiceAccountCredentials":false,"CloudProvider":"","CloudConfigFile":"","ConcurrentEndpointSyncs":5,"ConcurrentRSSyncs":5,"ConcurrentRCSyncs":5,"ConcurrentServiceSyncs":1,"ConcurrentResourceQuotaSyncs":5,"ConcurrentDeploymentSyncs":5,"ConcurrentDaemonSetSyncs":2,"ConcurrentJobSyncs":5,"ConcurrentNamespaceSyncs":10,"ConcurrentSATokenSyncs":5,"LookupCacheSizeForRC":4096,"LookupCacheSizeForRS":4096,"LookupCacheSizeForDaemonSet":1024,"ServiceSyncPeriod":"5m0s","NodeSyncPeriod":"0s","RouteReconciliationPeriod":"10s","ResourceQuotaSyncPeriod":"5m0s","NamespaceSyncPeriod":"5m0s","PVClaimBinderSyncPeriod":"15s","MinResyncPeriod":"12h0m0s","TerminatedPodGCThreshold":12500,"HorizontalPodAutoscalerSyncPeriod":"30s","HorizontalPodAutoscalerUpscaleForbiddenWindow":"3m0s","HorizontalPodAutoscalerDownscaleForbiddenWindow":"5m0s","DeploymentControllerSyncPeriod":"30s","PodEvictionTimeout":"5m |
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
castle20 ~ # kubeadm init | |
[kubeadm] WARNING: kubeadm is in beta, please do not use it for production clusters. | |
[init] Using Kubernetes version: v1.6.7 | |
[init] Using Authorization mode: RBAC | |
[preflight] Running pre-flight checks | |
[preflight] WARNING: socat not found in system path | |
[preflight] Starting the kubelet service | |
[certificates] Generated CA certificate and key. | |
[certificates] Generated API server certificate and key. | |
[certificates] API Server serving cert is signed for DNS names [castle20 kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] and IPs [10.96.0.1 10.26.193.220] |
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
$ docker exec -tu root f81008f8aa45 cat /var/log/kolla/openvswitch/ovs-vswitchd.log | |
2017-05-04T20:52:01.483Z|00001|vlog|INFO|opened log file /var/log/kolla/openvswitch/ovs-vswitchd.log | |
2017-05-04T20:52:01.557Z|00002|ovs_numa|INFO|Discovered 8 CPU cores on NUMA node 0 | |
2017-05-04T20:52:01.557Z|00003|ovs_numa|INFO|Discovered 1 NUMA nodes and 8 CPU cores | |
2017-05-04T20:52:01.557Z|00004|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connecting... | |
2017-05-04T20:52:01.557Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connected | |
2017-05-04T20:52:01.559Z|00006|dpdk|INFO|DPDK Disabled - to change this requires a restart. | |
2017-05-04T20:52:01.624Z|00007|ofproto_dpif|INFO|system@ovs-system: Datapath supports recirculation | |
2017-05-04T20:52:01.624Z|00008|ofproto_dpif|INFO|system@ovs-system: MPLS label stack length probed as 1 | |
2017-05-04T20:52:01.624Z|00009|ofproto_dpif|INFO|system@ovs-system: Datapath supports truncate action |
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
$ lsmod | grep openvswitch | |
openvswitch 102400 2 | |
nf_nat_ipv6 16384 1 openvswitch | |
nf_defrag_ipv6 36864 2 nf_conntrack_ipv6,openvswitch | |
libcrc32c 16384 1 openvswitch | |
nf_nat_ipv4 16384 2 openvswitch,iptable_nat | |
nf_nat 24576 5 xt_nat,openvswitch,nf_nat_ipv6,nf_nat_masquerade_ipv4,nf_nat_ipv4 | |
nf_conntrack 90112 8 nf_conntrack_ipv6,openvswitch,nf_conntrack_ipv4,nf_nat_ipv6,nf_nat_masquerade_ipv4,xt_conntrack,nf_nat_ipv4,nf_nat | |
$ docker exec -tu root f81008f8aa45 ovs-dpctl show |
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
$ kubectl describe pod -n kolla neutron-openvswitch-agent-network-hzvf7 | |
Name: neutron-openvswitch-agent-network-hzvf7 | |
Namespace: kolla | |
Node: castle10.rook.com/192.168.1.110 | |
Start Time: Thu, 04 May 2017 13:46:47 -0700 | |
Labels: component=neutron | |
pod-template-generation=1 | |
system=openvswitch-agent-network | |
Annotations: kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"DaemonSet","namespace":"kolla","name":"neutron-openvswitch-agent-network","uid":"c9bcdcb6-310a-11e7-96be-0... | |
Status: Pending |
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
170504 0:16:37 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.34-79.1 started; log sequence number 1600965 | |
170504 0:16:37 [Note] Plugin 'FEEDBACK' is disabled. | |
170504 0:16:37 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. | |
170504 0:16:37 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1146: Table 'mysql.gtid_slave_pos' doesn't exist | |
170504 0:16:38 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist | |
170504 0:16:38 [Note] Server socket created on IP: '0.0.0.0'. | |
170504 0:16:38 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist | |
170504 00:16:38 mysqld_safe mysqld from pid file /var/lib/mysql/mariadb.pid ended |
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
core@castle11 ~ $ ls -la /var/lib/kolla/volumes/mariadb/ | |
total 110768 | |
drwxr-xr-x. 2 42434 42434 4096 May 4 00:06 . | |
drwxr-xr-x. 3 root root 4096 May 3 23:02 .. | |
-rw-rw----. 1 42434 42434 16384 May 4 00:06 aria_log.00000001 | |
-rw-rw----. 1 42434 42434 52 May 4 00:06 aria_log_control | |
-rw-rw----. 1 42434 42434 50331648 May 4 00:06 ib_logfile0 | |
-rw-rw----. 1 42434 42434 50331648 May 3 23:03 ib_logfile1 | |
-rw-rw----. 1 42434 42434 12582912 May 4 00:06 ibdata1 | |
-rw-rw----. 1 42434 42434 331 May 3 23:03 mysql-bin.000001 |
NewerOlder