This is part of the Hobby Kube project. Manifests in this repository are described in the guide.
Extras are community maintained manifests. Feel free to contribute!
Kubernetes example manifests.
Home Page: https://hobby-kube.dev/guide
License: MIT License
This is part of the Hobby Kube project. Manifests in this repository are described in the guide.
Extras are community maintained manifests. Feel free to contribute!
Rook.io storage descriptors from ./storage/ folder are missing CRD definitions. Without them you wont be able to deploy any clusters.
Do you know how to fix this error ?
root@kube1:~/manifests/storage# kubectl create -f cluster.yml
error: unable to recognize "cluster.yml": no matches for kind "Cluster" in version "rook.io/v1alpha1"
root@kube1:~/manifests/storage# kubectl create -f storageclass.yml
storageclass.storage.k8s.io "rook-block" created
error: unable to recognize "storageclass.yml": no matches for kind "Pool" in version "rook.io/v1alpha1"
Kubernetes: v1.13.2
I am following the guide and have everything deployed successfully. I am now attempting to add a PVC for a mongo db deployment. Unfortunately it is stuck in a pending state and the deployment has an error message stating pod has unbound immediate PersistentVolumeClaims
.
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mongodb-persistent-storage
spec:
storageClassName: rook-block
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: mongodb
labels:
app: mongodb
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: mongodb
template:
metadata:
name: mongodb
labels:
app: mongodb
spec:
tolerations:
- key: node-role.kubernetes.io/master
operator: Equal
effect: NoSchedule
containers:
name: mongodb
image: mongo
ports:
- containerPort: 27017
name: mongodb
resources: {}
volumeMounts:
- name: data
mountPath: /data/db
restartPolicy: Always
volumes:
- name: data
persistentVolumeClaim:
claimName: mongodb-persistent-storage
---
apiVersion: v1
kind: Service
metadata:
labels:
name: mongodb
name: mongodb
spec:
ports:
- port: 27017
targetPort: 27017
selector:
name: mongodb
โ kubectl describe pvc mongodb-persistent-storage
Name: mongodb-persistent-storage
Namespace: default
StorageClass: rook-block
Status: Pending
Volume:
Labels: <none>
Annotations: control-plane.alpha.kubernetes.io/leader:
{"holderIdentity":"d1591a48-18e2-11e9-828c-da7dddbff85a","leaseDurationSeconds":15,"acquireTime":"2019-01-15T16:54:10Z","renewTime":"2019-...
kubectl.kubernetes.io/last-applied-configuration:
{"apiVersion":"v1","kind":"PersistentVolumeClaim","metadata":{"annotations":{},"name":"mongodb-persistent-storage","namespace":"default"},...
volume.beta.kubernetes.io/storage-provisioner: rook.io/block
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode: Filesystem
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Provisioning 7m46s rook.io/block rook-operator-6867764956-2bqn6 d1591a48-18e2-11e9-828c-da7dddbff85a External provisioner is provisioning volume for claim "default/mongodb-persistent-storage"
Normal ExternalProvisioning 2m44s (x104 over 7m44s) persistentvolume-controller waiting for a volume to be created, either by external provisioner "rook.io/block" or manually created by system administrator
Mounted By: <none>
I have spent countless hours trying to figure this out, any assistance you can provide would be greatly appreciated.
was trying to set this up and got this:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5e528b1dfb6e c4420eeebbbf "/tini -- /usr/loc..." 10 seconds ago Exited (1) 9 seconds ago k8s_rook-operator_rook-operator-5698897f8f-h9fq4_rook_ce2e0e78-91bb-11e8-9815-5254007bd805_6
# docker logs 5e52
2018-07-27 16:46:58.250464 I | rook: starting Rook v0.7.0-136.gd13bc83 with arguments '/usr/local/bin/rook operator'
2018-07-27 16:46:58.250524 I | rook: flag values: --help=false, --log-level=INFO, --mon-healthcheck-interval=45s, --mon-out-timeout=5m0s
2018-07-27 16:46:58.251266 I | rook: starting operator
failed to get container image. pods "rook-operator-5698897f8f-h9fq4" is forbidden: User "system:serviceaccount:rook:default" cannot get pods in the namespace "rook"
let me know what is missing here, probably some rbac rules i'm guessing
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.