Code Monkey home page Code Monkey logo

pcf-dotnet-environment-viewer's Introduction

dotnet-environment-viewer

This application can be modified and deployed from an operating system (Linux, OSX, Windows). This project uses the web project type which does not need to be compiled before deploying, it'll automatically compile on the deployed server on first access.

CF Instructions

With Windows diego cells deployed and a Windows stack, push the app using manifest defaults:

$ cf push

Kubernetes Instructions

These instructions assume you have Windows workers deployed to your k8s cluster. Before you can deploy the application you'll need to build a container image which unfortunately requires Docker on Windows Server 2019.

From your Windows Server with Docker installed, build and push the application to your container registry:

PS> docker build -t harbor.run.haas.pez.example.com/library/dotnet-environment-viewer:latest .
PS> docker push harbor.run.haas.pez.example.com/library/dotnet-environment-viewer:latest

Create a envviewer.yml file with the following contents:

apiVersion: v1
kind: Pod
metadata:
  labels:
    run: envviewer
  name: envviewer
spec:
  containers:
  - name: envviewer
    image: harbor.run.haas.pez.example.com/library/dotnet-environment-viewer:latest
    env:
    - name: SQLSERVER_CONNECTION_STRING
      value: Server=myServerAddress;Database=myDataBase;User Id=myUsername;Password=myPassword;
  tolerations:
  - key: "windows"
    value: "2019"
    effect: NoExecute
  nodeSelector:
    kubernetes.io/os: windows

You'll need update the SQLSERVER_CONNECTION_STRING env var or omit the env var if you don't have a DB. Once updated schedule a pod:

$ kubectl apply -f envviewer.yml

pcf-dotnet-environment-viewer's People

Contributors

afortener avatar dbeauregard avatar ecointet avatar micahyoung avatar rossr3-pivotal avatar sneal avatar

Watchers

 avatar  avatar

Forkers

kamattson

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.