Giter Site home page Giter Site logo

Comments (10)

hoatle avatar hoatle commented on July 19, 2024

ref: https://coreos.com/blog/introducing-operators.html

from teracy-dev-k8s.

hoatle avatar hoatle commented on July 19, 2024

https://github.com/operator-framework use operator to automate it all

from teracy-dev-k8s.

hoatle avatar hoatle commented on July 19, 2024

expect: operators are used to manage all restful apps

from teracy-dev-k8s.

hoatle avatar hoatle commented on July 19, 2024

https://github.com/oracle/mysql-operator

from teracy-dev-k8s.

hoatle avatar hoatle commented on July 19, 2024

https://github.com/operator-framework/awesome-operators

from teracy-dev-k8s.

hoatle avatar hoatle commented on July 19, 2024

Rook Operator Deployment

  • set the VM RAM to be 4GB is recommended

  • from https://rook.io/docs/rook/v0.8/helm-operator.html:

  • 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.

hoatle avatar hoatle commented on July 19, 2024

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.

hoatle avatar hoatle commented on July 19, 2024

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.

hoatle avatar hoatle commented on July 19, 2024

useful: https://commons.openshift.org/sig/operators.html

from teracy-dev-k8s.

hoatle avatar hoatle commented on July 19, 2024

related: https://github.com/storageos/cluster-operator

from teracy-dev-k8s.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.