4/8/2023 0 Comments Docker convoy plugin# etcdv3-daemonset.yml - apiVersion : v1 kind : Service metadata : labels : name : etcdv3 name : etcdv3 spec : type : NodePort clusterIP : 10.3.0.100 ports : - port : 2379 name : etcdv3-client targetPort : etcdv3-client selector : daemon : etcdv3 - apiVersion : extensions/v1beta1 kind : DaemonSet metadata : name : etcdv3 labels : app : etcdv3 spec : template : metadata : name : etcdv3 labels : daemon : etcdv3 spec : containers : - name : etcdv3 image : quay.io/coreos/etcd:latest imagePullPolicy : Always ports : - name : etcdv3-peers containerPort : 2380 - name : etcdv3-client containerPort : 2379 volumeMounts : - name : etcdv3-data mountPath : /var/lib/etcd - name : ca-certificates mountPath : /etc/ssl/certs env : - name : POD_IP valueFrom : fieldRef : fieldPath : status.podIP - name : ETCD_DATA_DIR value : /var/lib/etcd - name : ETCD_NAME valueFrom : fieldRef : fieldPath : metadata.name - name : ETCD_INITIAL_ADVERTISE_PEER_URLS value : - name : ETCD_ADVERTISE_CLIENT_URLS value : - name : ETCD_LISTEN_CLIENT_URLS value : - name : ETCD_LISTEN_PEER_URLS value : - name : ETCD_DISCOVERY value : #-> Get discovery URL before launching volumes : - name : etcdv3-data hostPath : path : /srv/etcdv3 - name : ca-certificates hostPath : path : /usr/share/ca-certificates/ Torus binary into the kubelet plugin directory.We are going to deploy Torus as a container, directly on Kubernetes. This test takes place on Kubernetes 1.3 cluster with 3 CoreOS nodes. Demo on a Kubernetes cluster with etherpad-lite torusblk binary is compatible with FlexVolume specs so we can directly mount storage into PODs. Kubernetes, in addition to built-in volumes, has a FlexVolume plugin that allows custom storage solution to implements a storage drivers without touching the heart of Kubernetes. These volume can then be used like any other block device. It can be installed as a standalone application and expose volumes via NBD.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |