This guide will show you how to access services within your minikube instance.
First, we will need to add a route to minikube.
This oneliner gets the ClusterIP range from etcd and adds a route.
curl -k -v -XPATCH -H "Accept: application/json, */*" -H "Content-Type: application/strategic-merge-patch+json" -H "User-Agent: kubectl/v1.5.3 (darwin/amd64) kubernetes/029c3a4" http://localhost:8080/api/v1/namespaces/default/services/stream3/status -d '{"status": {"loadBalancer": {"ingress": [{"ip": "10.0.0.116" }]}}}' |
apiVersion: v1 | |
kind: ReplicationController | |
metadata: | |
name: selenium-node-chrome | |
labels: | |
app: selenium-node-chrome | |
spec: | |
replicas: 2 | |
selector: | |
app: selenium-node-chrome |
#!/usr/bin/python | |
import cobbler.api as capi | |
from configobj import ConfigObj | |
import tempfile | |
import argparse | |
import subprocess | |
import os | |
from odict import OrderedDict | |
def write_ksconfigfile(cobblerobjectlist,configfile): |
OSX | |
``` | |
route -n add -net <service cidr> <node-ip> | |
``` | |
Linux: | |
``` | |
ip route add <service cidr> via <node ip> |
kind: StorageClass | |
apiVersion: storage.k8s.io/v1beta1 | |
metadata: | |
name: fast | |
provisioner: kubernetes.io/gce-pd | |
parameters: | |
type: pd-ssd |
cupsctl WebInterface=yes | |
add Zebra_RAW printer via interface. | |
lp -d Zebra_RAW -o raw <path> | |
When trying to mount a cephfs volume, my command hangs for minutes.
mount -t ceph -o name=admin,secret=xxx== ceph-mon.ceph.svc.harbor0.group.company.com:6789:/ /mnt/test/
mount error 5 = Input/output error
Output from the mounting system's logs:
[2948295.425025] libceph: client214643 fsid 80802a78-0c63-4146-8040-c93730f92515
--- | |
kind: DaemonSet | |
apiVersion: extensions/v1beta1 | |
metadata: | |
labels: | |
app: hadoop | |
daemon: datanode | |
name: hadoop-datanode | |
namespace: hadoop | |
spec: |