GithubHelp home page GithubHelp logo

wp-statefulset's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wp-statefulset's Issues

statefulset

Hi,
Firstly i want to thank you for sharing your project. I am new to on kubernetes and i am also searching worpress and mysql statefull on kubernetes. But I looked at your project and I did not see the statefulset.yml file, would you please share that file?

Thank you.

empty selector is invalid

hi
i want to install it on my k8s cluster version 1.17.3 i gave error about version and selector!
first of all i change apps/v1beta2 to apps/v1 then give error about (validating data) and i use tag to ignore this error with (--validate=false) then give error like bellow:
The StatefulSet "mysql" is invalid:

  • spec.selector: Required value
  • spec.template.metadata.labels: Invalid value: map[string]string{"name":"mysql"}: selector does not match template labels
    then i change yaml file and put selector there like this:
    apiVersion: apps/v1
    kind: StatefulSet
    metadata:
    name: mysql
    labels:
    name: mysql
    spec:
    serviceName: "mysql"
    replicas: 3
    selector:
    matchlabels:
    app: mysql
    then give another error!
    The StatefulSet "mysql" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string(nil), MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: empty selector is invalid for statefulset
    could yo help me to solve this issue?!

Not possible to deploy on GKE since ssh to master not allowed

Thank you very much of this example on how to deploy a StatefulSet.

It worked perfectly on vagrant... Now my objective is to deploy it on Google Container Engine. Unfortunately, it is not possible to ssh the master node since it is a manager cluster by GKE.

The question is: is there any solution to avoid ssh the master so that deployment on GKE is possible?

Thanks...

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.