# kubectl -n default logs -c build-step-node-ftl steren-sample-function-v29fs-6s4bj
2018-06-22,14:40:57.207 INFO Loading Docker credentials for repository 'launcher.gcr.io/google/nodejs:latest'
2018-06-22,14:40:57.207 INFO Loading Docker credentials for repository 'gcr.io/openshift-gce-devel/kn/sample-fn:latest'
2018-06-22,14:41:27.238 INFO builder initialization took 30 seconds
2018-06-22,14:41:27.239 INFO full build took 30 seconds
Traceback (most recent call last):
File "/app/ftl/node_builder_image.binary.runfiles/__main__/ftl/node/main.py", line 54, in <module>
main(sys.argv[1:])
This file contains hidden or 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
| kind: StorageClass | |
| apiVersion: storage.k8s.io/v1beta1 | |
| metadata: | |
| name: slow | |
| provisioner: kubernetes.io/azure-file | |
| parameters: | |
| skuName: Standard_LRS | |
| location: eastus | |
| secretnamespace: azure-file-ns | |
| --- |
This file contains hidden or 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 hidden or 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: |
- 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.yamlkubectl create -f rook-cluster.yaml- go test -run -v SmokeSuite github.com/rook/rook/tests/integration/
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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; |