GithubHelp home page GithubHelp logo

nigelpoulton / getting-started-k8s Goto Github PK

View Code? Open in Web Editor NEW
369.0 369.0 501.0 68 KB

Code and YAML files for Getting Started with Kubernetes video course on Pluralsight

Home Page: https://www.pluralsight.com/courses/kubernetes-getting-started

Dockerfile 23.08% JavaScript 23.49% Pug 24.77% CSS 15.92% Handlebars 12.73%
kubernetes

getting-started-k8s's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

getting-started-k8s's Issues

Exclude .DS_Store in the project.

Please use a global gitignore file so that you don't have to deal with platform-specific metadata files in your projects. .DS_Store files in macOS shouldn't be version-controlled.

error in step 5/5 with RUN npm install

Hello,
I m running the example and trying locally to build an image :

docker build -t gpapathe/qsk-book:1.0 .

but I get an error . I have bought the book and trying to follow step by step.
I m dont have a docker account in some registry or have created some account in some cloud cluster provider yet.
I m trying to do stuff locally which I assume it
I have tried behind company proxy , removing the proxy. Connecting via my mobile hotspot. In either scenario the npm install command from within the docker image does not seem to work. It seems that this is a timeout thing as it runs for many seconds.. and then boom error :

`papathe@l9kg3hw3-ath:/space/kubernetes/nigel_quick_start_examples/qsk-book/Appv1.1$ docker build -t gpapathe/qsk-book:1.0 .
[+] Building 519.1s (9/9) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 682B 0.0s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/node:current-alpine 1.6s
=> [1/5] FROM docker.io/library/node:current-alpine@sha256:4cc2d9f365691fc6f8fe227321d32d9a2691216a71f51c21c7f02224515dea48 4.4s
=> => resolve docker.io/library/node:current-alpine@sha256:4cc2d9f365691fc6f8fe227321d32d9a2691216a71f51c21c7f02224515dea48 0.0s
=> => sha256:f16884bf7ba38fab89edcd0cb8ba1f5d481495ca482476e73f5297cdd299dc2d 43.52MB / 43.52MB 2.8s
=> => sha256:12fe8815c466514f8488b5ca8bda5e7aadec8e77e9fe1b494040cac76af4da82 2.37MB / 2.37MB 1.2s
=> => sha256:4cc2d9f365691fc6f8fe227321d32d9a2691216a71f51c21c7f02224515dea48 1.43kB / 1.43kB 0.0s
=> => sha256:a4846d0aac29ceb77a633edcbc56260231fe6f0ba3aeca1ed8f3085a26c54f8e 1.16kB / 1.16kB 0.0s
=> => sha256:a4953861f11d2c59d7d524dbcc90827fc27bde5ed4ffee7df711319523c8b35d 7.13kB / 7.13kB 0.0s
=> => sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8 3.41MB / 3.41MB 0.7s
=> => extracting sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8 0.1s
=> => sha256:9b5c6033110b9fc74a8d438ab7fe7a1042a36dd5d402cc0975ded8f53e2a2f16 449B / 449B 1.0s
=> => extracting sha256:f16884bf7ba38fab89edcd0cb8ba1f5d481495ca482476e73f5297cdd299dc2d 1.2s
=> => extracting sha256:12fe8815c466514f8488b5ca8bda5e7aadec8e77e9fe1b494040cac76af4da82 0.1s
=> => extracting sha256:9b5c6033110b9fc74a8d438ab7fe7a1042a36dd5d402cc0975ded8f53e2a2f16 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 52.35kB 0.0s
=> [2/5] RUN mkdir -p /usr/src/app 0.6s
=> [3/5] COPY . /usr/src/app 0.1s
=> [4/5] WORKDIR /usr/src/app 0.1s
=> ERROR [5/5] RUN npm install 512.2s

[5/5] RUN npm install:
512.2 npm ERR! code EAI_AGAIN
512.2 npm ERR! syscall getaddrinfo
512.2 npm ERR! errno EAI_AGAIN
512.2 npm ERR! request to https://registry.npmjs.org/bytes failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org
512.2
512.2 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-02-14T10_42_14_959Z-debug-0.log


Dockerfile:18

16 |
17 | # Install dependencies from packages.json
18 | >>> RUN npm install
19 |
20 | # Command for container to execute

ERROR: failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 1`

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.