Giter VIP home page Giter VIP logo

one-app's Introduction

One-App

This is the helm-chart for One App you can run this demo with:

kind create cluster

helm install one-app . -f example-local-values.yaml

export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=one-app,app.kubernetes.io/instance=one-app" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:3000 to use your application"
kubectl --namespace default port-forward $POD_NAME 3000:3000

On a Kubernetes cluster

one-app

Pod log

│ {"schemaVersion":"0.3.0","application":{"name":"One App","version":"5.0.0-rc1-51e22d6f"},"device":{"id":"chart-1582721815-one-app-84d9fccd6-bv8gn:1","agent":"Linux │
│  x64"},"level":"info","timestamp":"2020-02-26T13:12:40.570Z","request":{"direction":"in","protocol":"http","address":{"uri":"http://10.244.0.13/"},"metaData":{"use │
│ rId":null,"method":"GET","correlationId":"16d1fd8a-3d8e-4730-bb42-c67dea8dfdf9","host":"10.244.0.13:3000","referrer":null,"userAgent":"kube-probe/1.17","forwarded" │
│ :null,"forwardedFor":null,"locale":"*"},"timings":{"duration":8,"ttfb":6},"statusCode":200,"statusText":"OK"}}                                                      │
│ {"schemaVersion":"0.3.0","application":{"name":"One App","version":"5.0.0-rc1-51e22d6f"},"device":{"id":"chart-1582721815-one-app-84d9fccd6-bv8gn:1","agent":"Linux │
│  x64"},"level":"info","timestamp":"2020-02-26T13:12:43.468Z","message":"sendHtml, have store? true, have appHtml? true"}                                            │
│ {"schemaVersion":"0.3.0","application":{"name":"One App","version":"5.0.0-rc1-51e22d6f"},"device":{"id":"chart-1582721815-one-app-84d9fccd6-bv8gn:1","agent":"Linux │
│  x64"},"level":"info","timestamp":"2020-02-26T13:12:43.470Z","request":{"direction":"in","protocol":"http","address":{"uri":"http://10.244.0.13/"},"metaData":{"use │
│ rId":null,"method":"GET","correlationId":"49fdfdd1-978a-43b8-a7f1-9ec81244e1e7","host":"10.244.0.13:3000","referrer":null,"userAgent":"kube-probe/1.17","forwarded" │
│ :null,"forwardedFor":null,"locale":"*"},"timings":{"duration":5,"ttfb":4},"statusCode":200,"statusText":"OK"}}                                                      │
│ {"schemaVersion":"0.3.0","application":{"name":"One App","version":"5.0.0-rc1-51e22d6f"},"device":{"id":"chart-1582721815-one-app-84d9fccd6-bv8gn:1","agent":"Linux │
│  x64"},"level":"info","timestamp":"2020-02-26T13:12:43.470Z","request":{"direction":"in","protocol":"http","address":{"uri":"http://10.244.0.13/"},"metaData":{"use │
│ rId":null,"method":"GET","correlationId":"49fdfdd1-978a-43b8-a7f1-9ec81244e1e7","host":"10.244.0.13:3000","referrer":null,"userAgent":"kube-probe/1.17","forwarded" │
│ :null,"forwardedFor":null,"locale":"*"},"timings":{"duration":5,"ttfb":4},"statusCode":200,"statusText":"OK"}}                                                      │
│ {"schemaVersion":"0.3.0","application":{"name":"One App","version":"5.0.0-rc1-51e22d6f"},"device":{"id":"chart-1582721815-one-app-84d9fccd6-bv8gn:1","agent":"Linux │
│  x64"},"level":"info","timestamp":"2020-02-26T13:12:50.566Z","message":"sendHtml, have store? true, have appHtml? true"}                                            │
│ {"schemaVersion":"0.3.0","application":{"name":"One App","version":"5.0.0-rc1-51e22d6f"},"device":{"id":"chart-1582721815-one-app-84d9fccd6-bv8gn:1","agent":"Linux │
│  x64"},"level":"info","timestamp":"2020-02-26T13:12:50.570Z","request":{"direction":"in","protocol":"http","address":{"uri":"http://10.244.0.13/"},"metaData":{"use │
│ rId":null,"method":"GET","correlationId":"39b8cd27-cff4-4fa4-b442-76f4137eb6be","host":"10.244.0.13:3000","referrer":null,"userAgent":"kube-probe/1.17","forwarded" │
│ :null,"forwardedFor":null,"locale":"*"},"timings":{"duration":7,"ttfb":4},"statusCode":200,"statusText":"OK"}}                                                      │
│ {"schemaVersion":"0.3.0","application":{"name":"One App","version":"5.0.0-rc1-51e22d6f"},"device":{"id":"chart-1582721815-one-app-84d9fccd6-bv8gn:1","agent":"Linux │
│  x64"},"level":"info","timestamp":"2020-02-26T13:12:50.570Z","request":{"direction":"in","protocol":"http","address":{"uri":"http://10.244.0.13/"},"metaData":{"use │
│ rId":null,"method":"GET","correlationId":"39b8cd27-cff4-4fa4-b442-76f4137eb6be","host":"10.244.0.13:3000","referrer":null,"userAgent":"kube-probe/1.17","forwarded" │
│ :null,"forwardedFor":null,"locale":"*"},"timings":{"duration":7,"ttfb":5},"statusCode":200,"statusText":"OK"}}                                                      │
│

Requirements

one-app's People

Contributors

alexsjones avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.