GithubHelp home page GithubHelp logo

kennyhyun / knative-serving Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dmartinol/knative-serving

0.0 0.0 0.0 27 KB

Instantly create and update Knative services on top of your Kubernetes cluster.

Home Page: https://serverless.com

JavaScript 100.00%

knative-serving's Introduction

knative-serving

Instantly create and update Knative services on top of your Kubernetes cluster with Serverless Components.

 

  1. Install
  2. Create
  3. Configure
  4. Deploy

 

1. Install

$ npm install -g serverless

2. Create

Just create a serverless.yml file

$ touch serverless.yml

Then create a .env file

$ touch .env

Update the .env file with information about your Kubernetes setup

# .env
KUBERNETES_ENDPOINT=https://cluster.example.com
KUBERNETES_PORT=6443
KUBERNETES_SERVICE_ACCOUNT_TOKEN=xxxx
KUBERNETES_SKIP_TLS_VERIFY=false

3. Configure

# serverless.yml
org: acme
app: todo
name: todo-knative-serving

component: knative-serving@dev

inputs:
  knativeGroup: serving.knative.dev # default is `serving.knative.dev`
  knativeVersion: v1alpha1 # default is `v1alpha1`
  registryAddress: 'https://container-registry.acme.com' # default is `'https://index.docker.io/v1'`
  namespace: 'default' # default is `'default'`
  name: my-knative-service
  repository: acme/some-func
  tag: latest

4. Deploy

$ serverless

New to Components?

Checkout the Serverless Components repo for more information.

knative-serving's People

Contributors

pmuens avatar rhuss avatar dmartinol avatar bbrowning avatar kennyhyun avatar tomerfi 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.