Comments (10)
ref: https://coreos.com/blog/introducing-operators.html
from teracy-dev-k8s.
https://github.com/operator-framework use operator to automate it all
from teracy-dev-k8s.
expect: operators are used to manage all restful apps
from teracy-dev-k8s.
https://github.com/oracle/mysql-operator
from teracy-dev-k8s.
https://github.com/operator-framework/awesome-operators
from teracy-dev-k8s.
Rook Operator Deployment
-
set the VM RAM to be 4GB is recommended
-
make sure to identify the
kubelet_flexvolumes_plugins_dir
, it is/var/lib/kubelet/volume-plugins
by default on kubespray -
Set the
agent.flexVolumeDirPath
key to the right value:
$ helm install --namespace rook-ceph-system rook-beta/rook-ceph --set=agent.flexVolumeDirPath=/var/lib/kubelet/volume-plugins
Just need to note on the flexVolumeDirPath
to set the right value, for other things, just follow the Rook docs.
from teracy-dev-k8s.
after rook-ceph-block
storageclass is available, we can use it mysql-operator cluster, for example:
apiVersion: mysql.oracle.com/v1alpha1
kind: Cluster
metadata:
name: my-app-db
namespace: test
spec:
members: 3
volumeClaimTemplate:
metadata:
name: data
spec:
storageClassName: rook-ceph-block
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
from teracy-dev-k8s.
for stateful apps, we need to share a ReadWriteMany (RWX) access mode volume, use this https://rook.io/docs/rook/master/nfs.html
from teracy-dev-k8s.
useful: https://commons.openshift.org/sig/operators.html
from teracy-dev-k8s.
related: https://github.com/storageos/cluster-operator
from teracy-dev-k8s.
Related Issues (20)
- should update sso docs to use ca-cluster-issuer from cert-manager
- should set vm_memory and vm_cpus dynamically basing on the num_instances HOT 2
- should add local to vagrant automatically generate file to match the localhost check in cluster.yml
- should remove the swap provisioner to improve performance
- should set min cpus is 2
- should not ask users to fill in the sudo password with ansible host mode
- should make sure $ vagrant up/reload/resume should work without --provision
- should check client lib version (kubectl, helm) compatibility with server version HOT 2
- should update docs for KUBECONFIG to make it work on Windows HOT 6
- should add teracy-dev-certs >= 0.4.0 dependency and update cert-manager docs HOT 2
- should upgrade rook to 1.0 with rook-storage-service docs to make it work with the current develop branch HOT 5
- should have docs how to set up logging
- should upgrade docs to use rook 1.0 instead of 0.9 HOT 1
- should upgrade to use kubespray v2.9.0 HOT 2
- should update the ha wordpress deployment docs
- should enable metrics-server by default, increase cpus from 2 to 4 HOT 2
- should add docs how to develop wordpress app on k8s cluster
- should upgrade to use the latest kubespray v2.12.1
- should support 3 nodes with minimum ~4GB free RAM
- should create docs how to set up multi-tenant cluster with client certificate
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teracy-dev-k8s.