Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

kuberetes config

######################################
# THIS IS DEVELOPMENT LIKE DOCKERFILE
######################################
apiVersion: apps/v1
kind: Deployment
metadata:
  name: proxy-server-development
  labels:
    environment: development
    app: nginx
spec:
  replicas: 5
  selector:
    matchLabels:
      app: nginx
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
        - name: proxy
          image: nginx:1.7.9
          ports:
            - containerPort: 80
---
######################################
# THIS IS SERVICE LIKE DOCKER COMPOSE
######################################
apiVersion: v1
kind: Service
metadata:
  name: proxy-server-service
spec:
  type: LoadBalancer
  selector:
    app: nginx
  ports:
    - protocol: TCP
      port: 8080
      targetPort: 80
Comment

PREVIOUS NEXT
Code Example
Shell :: git bash command 
Shell :: git how to track files 
Shell :: bash find and replace all files with specifc name with another file 
Shell :: merge another branch into current 
Shell :: how to remove apt repository ubuntu 
Shell :: install pip mac 
Shell :: git how to remove files from staging 
Shell :: how to pull down a specific branch from github 
Shell :: add user with sudoer centos 
Shell :: with which command make file and directory in linux 
Shell :: IDE for work marckdown file on ubuntu 
Shell :: angular extract i18n 
Shell :: Installing Dradis 
Shell :: bash reading file wrong 
Shell :: gedit linux install suing terminal 
Shell :: bash print separator null character 
Shell :: Correct Folder Permissions Ubuntu 18.04 Server 
Shell :: linux check memory occupied by a file and folder 
Shell :: linux traverse all subdirectories and do action 
Shell :: check if string in file 
Shell :: broken symlinks were found is this a problem 
Shell :: powershell cheats 
Shell :: Set email address for LFD alerts 
Shell :: langkah-langkah menginstal git di terminal 
Shell :: cat file content after pattern 
Shell :: most git libya 
Shell :: linux commands list 
Shell :: linux uudelleen nimeä kansio 
Shell :: site:github.com speedtest web app 
Shell :: Permission denied (publickey). /usr/local/bin/mosh: Did not find mosh server startup message. (Have you installed mosh on your server?) 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =