Skip to content

Instantly share code, notes, and snippets.

@deads2k
Created June 16, 2015 15:18
Show Gist options
  • Save deads2k/97bcb89212c5c13c3066 to your computer and use it in GitHub Desktop.
Save deads2k/97bcb89212c5c13c3066 to your computer and use it in GitHub Desktop.
apiVersion: v1
items:
- apiVersion: v1
kind: ImageStream
metadata:
creationTimestamp: null
name: ubuntu-debootstrap
spec:
dockerImageRepository: library/ubuntu-debootstrap:14.04
status:
dockerImageRepository: ""
- apiVersion: v1
kind: ImageStream
metadata:
creationTimestamp: null
name: docker-nfs-server
spec:
tags:
- from:
kind: DockerImage
name: library/docker-nfs-server:latest
name: latest
status:
dockerImageRepository: ""
- apiVersion: v1
kind: BuildConfig
metadata:
creationTimestamp: null
name: docker-nfs-server
spec:
output:
to:
kind: ImageStreamTag
name: docker-nfs-server:latest
resources: {}
source:
git:
uri: https://github.com/deads2k/docker-nfs-server
type: Git
strategy:
dockerStrategy:
from:
kind: ImageStreamTag
name: ubuntu-debootstrap:14.04
type: Docker
triggers:
- github:
secret: wAWBuMZdIVbWLscgzxUn
type: GitHub
- generic:
secret: _XRLouIDQsz0ARuFnEo0
type: Generic
- imageChange: {}
type: ImageChange
status:
lastVersion: 0
- apiVersion: v1
kind: DeploymentConfig
metadata:
creationTimestamp: null
name: docker-nfs-server
spec:
replicas: 1
selector:
deploymentconfig: docker-nfs-server
strategy:
resources: {}
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
deploymentconfig: docker-nfs-server
spec:
containers:
- image: library/docker-nfs-server:latest
name: docker-nfs-server
ports:
- containerPort: 111
name: docker-nfs-server-udp-111
protocol: UDP
- containerPort: 111
name: docker-nfs-server-tcp-111
protocol: TCP
- containerPort: 2049
name: docker-nfs-server-tcp-2049
protocol: TCP
- containerPort: 2049
name: docker-nfs-server-udp-2049
protocol: UDP
resources: {}
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- docker-nfs-server
from:
kind: ImageStreamTag
name: docker-nfs-server:latest
type: ImageChange
status: {}
- apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
name: docker-nfs-server
spec:
portalIP: ""
ports:
- name: docker-nfs-server-udp-111
nodePort: 0
port: 111
protocol: UDP
targetPort: 111
- name: docker-nfs-server-tcp-111
nodePort: 0
port: 111
protocol: TCP
targetPort: 111
- name: docker-nfs-server-udp-2049
nodePort: 0
port: 2049
protocol: UDP
targetPort: 2049
- name: docker-nfs-server-tcp-2049
nodePort: 0
port: 2049
protocol: TCP
targetPort: 2049
selector:
deploymentconfig: docker-nfs-server
status:
loadBalancer: {}
kind: List
metadata: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment