Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
94c6c121
Commit
94c6c121
authored
Jun 01, 2015
by
Chao Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update contrib/git-sync/demo to v1beta3
parent
2ffb8751
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
54 deletions
+53
-54
pod.yaml
contrib/git-sync/demo/config/pod.yaml
+44
-47
service.yaml
contrib/git-sync/demo/config/service.yaml
+9
-7
No files found.
contrib/git-sync/demo/config/pod.yaml
View file @
94c6c121
id
:
blog-pod
apiVersion
:
v1beta3
kind
:
Pod
kind
:
Pod
apiVersion
:
v1beta1
metadata
:
desiredState
:
labels
:
manifest
:
name
:
blog
version
:
v1beta1
name
:
blog-pod
containers
:
spec
:
-
name
:
git-sync
containers
:
image
:
proppy/git-sync
-
name
:
git-sync
imagePullPolicy
:
PullAlways
image
:
gcr.io/google_containers/git-sync
env
:
imagePullPolicy
:
Always
-
name
:
GIT_SYNC_REPO
volumeMounts
:
value
:
https://github.com/GoogleCloudPlatform/kubernetes.git
-
name
:
GIT_SYNC_DEST
value
:
/git
volumeMounts
:
-
name
:
markdown
mountPath
:
/git
-
name
:
hugo
image
:
proppy/hugo
imagePullPolicy
:
PullAlways
env
:
-
name
:
HUGO_SRC
value
:
/src/contrib/git-sync/demo/blog
-
name
:
HUGO_BUILD_DRAFT
value
:
'
true'
-
name
:
HUGO_BASE_URL
value
:
example.com
volumeMounts
:
-
name
:
markdown
mountPath
:
/src
-
name
:
html
mountPath
:
/dest
-
name
:
nginx
image
:
nginx
volumeMounts
:
-
name
:
html
mountPath
:
/usr/share/nginx/html
ports
:
-
name
:
http-server
containerPort
:
80
volumes
:
-
name
:
markdown
-
name
:
markdown
source
:
mountPath
:
/git
emptyDir
:
{}
env
:
-
name
:
GIT_SYNC_REPO
value
:
https://github.com/GoogleCloudPlatform/kubernetes.git
-
name
:
GIT_SYNC_DEST
value
:
/git
-
name
:
hugo
image
:
gcr.io/google_containers/hugo
imagePullPolicy
:
Always
volumeMounts
:
-
name
:
markdown
mountPath
:
/src
-
name
:
html
mountPath
:
/dest
env
:
-
name
:
HUGO_SRC
value
:
/src/contrib/git-sync/demo/blog
-
name
:
HUGO_BUILD_DRAFT
value
:
"
true"
-
name
:
HUGO_BASE_URL
value
:
example.com
-
name
:
nginx
image
:
nginx
volumeMounts
:
-
name
:
html
-
name
:
html
source
:
mountPath
:
/usr/share/nginx/html
emptyDir
:
{}
ports
:
labels
:
-
name
:
http-server
name
:
blog
containerPort
:
80
volumes
:
-
name
:
markdown
emptyDir
:
{}
-
name
:
html
emptyDir
:
{}
contrib/git-sync/demo/config/service.yaml
View file @
94c6c121
id
:
blog-service
apiVersion
:
v1beta3
kind
:
Service
kind
:
Service
apiVersion
:
v1beta1
metadata
:
port
:
80
name
:
blog-service
containerPort
:
80
spec
:
selector
:
createExternalLoadBalancer
:
true
name
:
blog
ports
:
createExternalLoadBalancer
:
true
-
port
:
80
selector
:
name
:
blog
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment