Giter Site home page Giter Site logo

openshift-examples / web Goto Github PK

View Code? Open in Web Editor NEW
125.0 15.0 82.0 29.47 MB

๐Ÿš€ Content of examples.openshift.pub

Home Page: http://examples.openshift.pub

HTML 17.09% Shell 61.80% CSS 2.49% Dockerfile 3.35% Smarty 12.39% Ruby 1.92% Python 0.96%
openshift examples autoscaling openshift4 pod kubernetes k8s

web's Issues

"simple-http-server:micro" container fails to start

Hello!

When trying to use the "simple-http-server:micro" image, the start fails with the error message:

runc create failed: unable to start container process: exec: "socat": executable file not found in $PATH

Is their any required token/password to build the image?

I'm trying to build it locally using OCP or Podman. I'm getting the below error:

[mharbi@mharbi Podman-Build 08:44:10]$ podman build -t my-openshift-example:latest -f my-openshift-example .
STEP 1: FROM quay.io/openshift-examples/ubi8-s2i-mkdocs:latest
STEP 2: LABEL "io.openshift.s2i.build.commit.message"="GPU Debugging check entitlements"       "io.openshift.s2i.build.source-location"="https://github.com/openshift-examples/web.git"       "io.openshift.s2i.build.image"="quay.io/openshift-examples/ubi8-s2i-mkdocs:latest"       "io.openshift.s2i.build.commit.author"="Robert Bohne <[email protected]>"       "io.openshift.s2i.build.commit.date"="Tue May 18 18:10:27 2021 +0200"       "io.openshift.s2i.build.commit.id"="4d46eb835aee370e8f97b22f825c79920bde8c45"       "io.openshift.s2i.build.commit.ref"="master"
--> Using cache 221ad5bb6fe2531df4ebeda0b449fe2bacdc258d66529d6803c6f7f6a8d9002b
--> 221ad5bb6fe
STEP 3: USER root
--> Using cache fe4031f71cf569749e903f91db7a21feeba42d1d15c2065cf839d284d6424cdd
--> fe4031f71cf
STEP 4: COPY upload/src /tmp/src
--> d52a28250e6
STEP 5: RUN chown -R 1001:0 /tmp/src
--> 12c56e9a9b5
STEP 6: USER 1001
--> ce5f980bdb3
STEP 7: RUN /usr/libexec/s2i/assemble
---> Installing application source ...
---> Installing dependencies ...
Collecting git+https://****@github.com/squidfunk/mkdocs-material-insiders.git (from -r requirements.txt (line 2))
  Cloning https://****@github.com/squidfunk/mkdocs-material-insiders.git to /tmp/pip-req-build-vo2s3_1x
  Running command git clone -q 'https://****@github.com/squidfunk/mkdocs-material-insiders.git' /tmp/pip-req-build-vo2s3_1x
Password for 'https://${GH_TOKEN}@github.com': 

It stuck and waits for ever. Am I missing something here?

Added metrics example to content/client

$ oc adm top pod
NAME                                      CPU(cores)   MEMORY(bytes)   
coe-clair-app-798d5bc956-txkfm            1m           2380Mi          
coe-clair-app-798d5bc956-tzcwn            3m           185Mi           
coe-clair-postgres-79f4bd686c-rrzgs       1901m        11436Mi         
coe-quay-app-bc86bcdb6-bnnvh              58m          3958Mi          
coe-quay-app-bc86bcdb6-vpbrf              24m          4147Mi          
coe-quay-config-editor-68796848ff-t9r4l   0m           63Mi            
coe-quay-database-5b99574df8-cgnkw        11m          164Mi           
coe-quay-mirror-855b4f994-bdgkf           1m           158Mi           
coe-quay-mirror-855b4f994-gpn9b           0m           160Mi           
coe-quay-redis-5fdbc6fdd6-pjj6b           2m           15Mi            
$ oc get pods.metrics
NAME                                      CPU     MEMORY       WINDOW
coe-clair-app-798d5bc956-txkfm            1m      2437748Ki    5m0s
coe-clair-app-798d5bc956-tzcwn            0       190224Ki     5m0s
coe-clair-postgres-79f4bd686c-rrzgs       1901m   11710844Ki   5m0s
coe-quay-app-bc86bcdb6-bnnvh              58m     4053672Ki    5m0s
coe-quay-app-bc86bcdb6-vpbrf              84m     4247680Ki    5m0s
coe-quay-config-editor-68796848ff-t9r4l   0       64560Ki      5m0s
coe-quay-database-5b99574df8-cgnkw        11m     168932Ki     5m0s
coe-quay-mirror-855b4f994-bdgkf           1m      162668Ki     5m0s
coe-quay-mirror-855b4f994-gpn9b           1m      164084Ki     5m0s
coe-quay-redis-5fdbc6fdd6-pjj6b           2m      16252Ki      5m0s

It would be nice to have an go-tempalte for pod.metrics and pod resources with CSV export to get a nice overview. Or combine both on one?

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.