- Make changes locally
- Build (go and docker images)
tests/scripts/minikube.sh up
- Go get a snack
- After the VM is up, kubernetes is ready now. Verify with a simple kubectl command from your host
kubectl create -f rook-operator.yaml
kubectl create -f rook-cluster.yaml
- go test -run -v SmokeSuite github.com/rook/rook/tests/integration/
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: Namespace | |
metadata: | |
name: azure-file-ns | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: Role | |
metadata: | |
name: system:controller:persistent-volume-binder | |
namespace: azure-file-ns |
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: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
labels: | |
app: rook-ds | |
name: rook-ds | |
namespace: rook-system | |
spec: | |
selector: | |
matchLabels: |
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
FROM centos:7 | |
RUN yum install -y ebtables ethtool iptables ipset docker | |
ADD hyperkube /bin/hyperkube | |
ADD kubelet /bin/kubelet | |
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
#!/bin/bash | |
docker run \ | |
--volume=/:/rootfs:rw \ | |
--volume=/var/run:/var/run:rw \ | |
--volume=/sys:/sys:rw \ | |
--volume=/sys/fs/cgroup:/sys/fs/cgroup:rw \ | |
--volume=/var/lib/docker:/var/lib/docker:rw \ | |
--volume=/var/lib/kubelet/:/var/lib/kubelet:rw \ | |
--volume=/dev:/dev \ |
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: PersistentVolume | |
metadata: | |
name: csi-iscsi-pv | |
labels: | |
name: csi-iscsi-pv | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
capacity: |
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
pragma solidity ^0.4.11; | |
/** | |
* @title Ownable | |
* @dev The Ownable contract has an owner address, and provides basic authorization control | |
* functions, this simplifies the implementation of "user permissions". | |
*/ | |
contract Ownable { | |
address public owner; |
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: elasticsearch-logging | |
labels: | |
k8s-addon: logging-elasticsearch.addons.k8s.io | |
k8s-app: elasticsearch-logging | |
kubernetes.io/cluster-service: "true" | |
kubernetes.io/name: "Elasticsearch" | |
spec: |
install helm following instructions at https://github.com/kubernetes/helm
helm init
helm serve &
helm repo add local http://localhost:8879/charts
# _output/bin/kubectl get volumesnapshotdata -o yaml
apiVersion: v1
items:
- apiVersion: volume-snapshot-data.external-storage.k8s.io/v1
kind: VolumeSnapshotData
metadata:
creationTimestamp: 2017-05-31T13:45:09Z
name: snapshot-demo
namespace: default