Git Product home page Git Product logo

Comments (10)

bitfield avatar bitfield commented on July 20, 2024 1

Have you checked the 'Known issues' list in the README? Specifically, https://github.com/cloudnativedevops/demo#apiversion

from demo.

bitfield avatar bitfield commented on July 20, 2024

Resolve what?

from demo.

bagladivyang03 avatar bagladivyang03 commented on July 20, 2024

@bitfield
kubectl create -f k8s/deployment.yaml

error: unable to recognize "k8s/deployment.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"

Getting this
So pls tell how to resolve this :)

from demo.

bagladivyang03 avatar bagladivyang03 commented on July 20, 2024

@bitfield
Below is the Deployment.yaml code :-

kind: Deployment
apiVersion: extensions/v1beta1
metadata:
name: valkyrie-dev
spec:
replicas: 1
template:
metadata:
name: valkyrie-app
labels:
app: valkyrie-app
role: frontend-backend
env: dev
spec:
containers:
- name: backend
image: gcr.io/qwiklabs-gcp-03-70bdda2e4e03/valkyrie-app:v0.0.1
resources:
limits:
memory: "500Mi"
cpu: "100m"
imagePullPolicy: Always
readinessProbe:
httpGet:
path: /healthz
port: 8080
command: ["app","-port=8080"]
ports:
- name: backend
containerPort: 8080
- name: frontend
image: gcr.io/qwiklabs-gcp-03-70bdda2e4e03/valkyrie-app:v0.0.1
resources:
limits:
memory: "500Mi"
cpu: "100m"
imagePullPolicy: Always
readinessProbe:
httpGet:
path: /healthz
port: 80
command: ["app","-frontend=true","-backend-service=http://127.0.0.1:8080","-port=80"]
ports:
- name: frontend
containerPort: 80

Pls tell asap :)

from demo.

moth avatar moth commented on July 20, 2024

Resolve this!

@iamayushdas you seem like a smart individual on a path of learning - you've found the best book on Kubernetes after all. It is also important to hone the softer skills like how to collaborate - by remaining polite, explaining the issue clearly, and being respectful of people's time. There's great benefits to be had.

from demo.

bagladivyang03 avatar bagladivyang03 commented on July 20, 2024

@moth sir pls tell how to resolve the issue I explained above

from demo.

bagladivyang03 avatar bagladivyang03 commented on July 20, 2024

thanks @bitfield will try again and let u know asap :)

from demo.

iamayushdas avatar iamayushdas commented on July 20, 2024

Have you checked the 'Known issues' list in the README? Specifically, https://github.com/cloudnativedevops/demo#apiversion

I tried this. But ended up in having error

error: error validating "k8s/deployment.yaml": error validating data: ValidationError(Deployment.spec): missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec; if you choose to ignore these errors, turn validation offwith --validate=false

from demo.

iamayushdas avatar iamayushdas commented on July 20, 2024

resolved!

from demo.

iamayushdas avatar iamayushdas commented on July 20, 2024

Resolved!

from demo.

Related Issues (13)

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.