hokutosei
dce5e3bd6f
changed the id of replication-controller to nginx
2015-01-06 10:19:54 +09:00
Joe Beda
9aa48b7628
Move heapster data files to cluster/addons.
...
Also pretty up the JSON (make it real JSON) and streamline the sed in cluster/gce/init.sh.
2015-01-05 12:32:35 -08:00
Eric Tune
aca227df5a
Merge pull request #3217 from brendandburns/cassandra
...
Address some comments from erictune.
2015-01-05 10:10:44 -08:00
Brendan Burns
b06458e0ea
Address some comments from erictune.
2015-01-05 09:51:05 -08:00
Eric Tune
180108b5f9
Merge pull request #3211 from brendandburns/cassandra
...
Add an example of running Cloud Native Cassandra on k8s.
2015-01-05 09:07:07 -08:00
Brendan Burns
04f51b60de
Add an example of running Cloud Native Cassandra on k8s.
2015-01-04 22:30:18 -08:00
Aditya Patawari
7c99d960fe
kind is needed to start the pod
...
fix for the following error:
the provided version "v1beta1" and kind "" cannot be mapped to a supported object
2014-12-25 22:37:20 +05:30
Brendan Burns
3a0d16ff35
Add an e2e test for exec liveness probes. Fix the docker exec integration.
2014-12-16 13:53:32 -08:00
Brendan Burns
f1b55c04e2
Add an e2e test for http liveness.
2014-12-16 11:38:52 -08:00
bgrant0607
a299287ae8
Merge pull request #2832 from jlowdermilk/update-demo
...
Fix update-demo to work correctly with a web browser.
2014-12-11 08:09:42 -08:00
Jeff Lowdermlk
d5bd440bca
Update guestbook,walkthrough examples to use kubectl instead of kubecfg.
2014-12-10 17:37:40 -08:00
Jeff Lowdermlk
3e3f802f2b
Fix update-demo to work correctly with a web browser.
...
The built in go http.Fileserver handles If-Modified-Since in the
header by comparing it with the last modified date on the
file/directory. Since the file is unaltered when we switch to a
new container, that results in 304s when trying to fetch data.json, so
the browser doesn't fetch the new picture after doing a rolling update.
Separate issue, the Dockerfile ADD command was being interpreted as
`copy html/data.json into a directory called 'html/kitten.jpg '`,
instead of the `copy these 2 files into root`. Changed to separate
commands using COPY, per recommended dockerfile practices.
2014-12-10 12:34:19 -08:00
Brendan Burns
4985f58eb5
Merge pull request #2759 from mikedanese/configure-cadvisor-port
...
make cadvisor port configurable on the kubelet
2014-12-09 15:21:35 -08:00
Joe Beda
e0f5956e46
Make guestbook handle duplicate entries.
...
Also use kubernetes org on the Docker Hub to host the image.
Fixes #2811
2014-12-09 11:23:09 -08:00
Mike Danese
722abf1a95
- make cadvisor port configurable on the kubelet.
...
- added cadvisor port documentation.
2014-12-06 09:48:08 -08:00
bgrant0607
56eba5cb47
Merge pull request #2626 from jasonkuhrt/patch-1
...
Fix incorrect pod spec in tutorial
2014-12-04 11:21:02 -08:00
Andrew Smith
1c2cea9c10
Fix label yml
...
I was getting: invalid value 'map[]': selector does not match template with the -
2014-11-30 15:26:47 +00:00
Jason Kuhrt
3a045fcac1
Update README.md
...
Fix incorrect pod spec
2014-11-26 08:30:31 -05:00
Joe Beda
6ba07b38fc
Convert gcutil to gcloud compute
2014-11-25 15:17:00 -08:00
Joe Beda
e459d54496
Fix extra comma in example JSON
2014-11-25 14:46:25 -08:00
Brendan Burns
e1764e2e01
Add an e2e test for gce pd.
...
Add an example for gce pd.
Add an extra log message.
2014-11-25 09:02:00 -08:00
Alen Komljen
d7ffc5e8f0
Update README to match with json files and remove duplicate index.php
2014-11-21 09:37:59 +01:00
MikeJeffrey
7afd4ef71b
Rolling back apiVersion change
2014-11-19 15:45:30 -08:00
MikeJeffrey
74ede76428
apiVersion -> version
2014-11-19 15:42:06 -08:00
Brendan Burns
c38880047d
Update guestbook to fix given recent changes.
2014-11-15 19:36:02 -08:00
Tim Hockin
eafdc684e9
Merge pull request #1922 from brendandburns/guestbook
...
Update the services now that Services v2 has IP per service.
2014-11-14 21:13:19 -08:00
Vishnu Kannan
46a22b3c44
Fix monitoring setup script.
...
Remove the firewall rule created for monitoring as part of kube-down.
Reuse master auth for Grafana.
2014-11-13 16:43:05 -05:00
David Oppenheimer
3d69351924
Change update example to use a trivial webserver instead of nginx (issue #1803 ).
2014-11-12 15:13:11 -08:00
Brendan Burns
110b5a3345
Update the services now that Services v2 has IP per service.
2014-11-12 11:31:28 -08:00
Clayton Coleman
94c873e7a4
Remaining refactor for PodTemplateSpec and fixing test cases
2014-11-11 17:03:20 -05:00
Clayton Coleman
9a998350f0
Some examples do not pass extended validation
2014-11-10 11:33:31 -05:00
Vishnu Kannan
37af9210ba
Improve the monitoring setup script and fix bugs in the monitoring config.
2014-11-07 19:27:52 +00:00
Vishnu Kannan
ad9cb982e5
Add an option for enabling monitoring in gce/config-default.sh and disable it
...
for tests.
Updated heapster readme.
2014-11-07 00:47:56 +00:00
Vishnu Kannan
edf6d8ee3f
Use Heapster as an in-built monitoring solution for Kubernetes in GCE.
...
Users will have an option to enable it when they setup their cluster (kube-up).
2014-11-07 00:47:56 +00:00
Eric Paris
591adec13c
fix example usage of passing environment variables
...
The syntax is not envVar, that is the name of the internal struct. The
list is just "env"
2014-11-06 11:28:08 -05:00
Brendan Burns
f556f2f82f
Add some validation for externalized service ports.
2014-11-03 13:36:34 -08:00
Brendan Burns
1c61486ec3
Merge pull request #2026 from satnam6502/201
...
Fix of a few 201 typos
2014-10-27 23:41:20 -07:00
Satnam Singh
f17403dbd8
Fix some 101 typos
2014-10-27 23:25:55 -07:00
Satnam Singh
295ff57194
Fix of a few 201 typos
2014-10-27 23:10:00 -07:00
Amy Unruh
4d9023c887
a few 'Walkthrough' typo fixes
2014-10-27 20:32:32 -07:00
Clayton Coleman
644eb70085
Refactor tests to split ObjectMeta from TypeMeta
2014-10-24 11:22:21 -04:00
Joe Beda
fdb7731de3
Merge pull request #1962 from dchen1107/fix
...
Increase memory limit of frontend-controller in our guestbook example.
2014-10-22 13:13:19 -07:00
Dawn Chen
ec5ae48a9f
Increase memory limit of frontend-controller in our guestbook example.
2014-10-22 11:07:20 -07:00
oaktowner
95aca622f5
Update k8s201.md
...
Minor typo corrected.
2014-10-21 17:10:56 -07:00
Brendan Burns
456f2603de
Merge pull request #1926 from brendandburns/docs
...
Fix tests.
2014-10-21 07:40:08 -07:00
Brendan Burns
6fbbc9ee08
Fix tests.
2014-10-21 07:19:55 -07:00
Brendan Burns
a4f51bfd88
Fix some links...
2014-10-21 07:11:02 -07:00
Brendan Burns
465acd5e76
Add a "201" walkthrough.
2014-10-21 07:06:24 -07:00
Tim Hockin
e12ae4cdcd
Fix update demo
2014-10-17 10:32:22 -07:00
Tim Hockin
b01126322b
Merge pull request #1828 from thockin/guestbook
...
Update guestbook-go.
2014-10-16 17:02:16 -07:00
Joe Beda
7b1ee58dad
Merge pull request #1816 from atishn/patch-1
...
Added missing .sh extension
2014-10-16 14:27:10 -07:00
Tim Hockin
e203191ac0
Update guestbook-go.
...
IP-per-service compatible. Uses kubectl.
2014-10-16 10:09:12 -07:00
Tim Hockin
e907011111
Core support for ip-per-service
2014-10-16 08:36:47 -07:00
Atish
dc51231a89
Added missing .sh extension
2014-10-15 17:12:03 -04:00
Brendan Burns
d50a3c986b
Fix links.
2014-10-10 08:16:10 -07:00
Brendan Burns
86daa142fa
Update title a little.
2014-10-09 12:38:24 -07:00
Brendan Burns
b5ec8a747b
Switch on the resource requested prioritization.
2014-10-09 11:29:45 -07:00
Brendan Burns
7fe71c68b7
Update the ux.
2014-10-08 20:16:59 -07:00
Matt T. Proud
8a911b39af
Swap internal doc. refs to relative links.
...
This commit addresses issue #1571 , which requests that all internal
Kubernetes links are swapped to relative ones to better facilitate
browsing of documentation on local forks, not to mention make the
documentation have less needless boilerplate.
2014-10-08 21:09:18 +02:00
Daniel Smith
0212c9b29a
Merge pull request #1623 from smarterclayton/rename_jsonbase
...
Rename JSONBase -> TypeMeta in preparation for v1beta3
2014-10-07 10:50:28 -07:00
Clayton Coleman
d3e51a0f24
Rename JSONBase -> TypeMeta in preparation for v1beta3
...
Will make subsequent refactor much easier
2014-10-07 11:12:16 -04:00
Vishnu Kannan
ecd45031b8
Fix update demo.
2014-10-07 08:03:42 +00:00
Brendan Burns
1551b48347
Add a resource fit scheduler predicate. Set sensible defaults.
2014-10-03 15:09:59 -07:00
derekwaynecarr
6625e58a20
Updates to review comments
2014-10-01 10:57:50 -04:00
derekwaynecarr
e032c3075c
Fix examples test by setting a context prior to validation
2014-10-01 10:57:50 -04:00
Gurpartap Singh
3d89dbccca
One last time.
2014-09-26 10:51:09 +05:30
Gurpartap Singh
ce99720239
Use builder instead of build
2014-09-26 10:50:51 +05:30
Gurpartap Singh
e506e52018
Use builder instead of build
2014-09-26 10:50:27 +05:30
Gurpartap Singh
7b51698c36
Update README.md
...
GoogleCloudPlatform/kubernetes#1454
2014-09-26 06:01:59 +05:30
Johan Euphrosine
964be36991
examples/guestbook-go: build from source and remove bin/docker dep
2014-09-25 16:34:20 -07:00
Brendan Burns
7f7fad0d21
Merge pull request #1383 from smarterclayton/expand_syntax_validation
...
Expand syntax validation for other examples
2014-09-24 14:55:47 -07:00
Tim Hockin
089c5602fd
Add per-service env vars for *_SERVICE_HOST
...
As a replacement of a single SERVICE_HOST variable, offer a FOO_SERVICE_HOST
variable. This will help ease the transition to ip-per-service, where there
is no longer a single service host.
# *** ERROR: *** Some files are missing the required boilerplate
# header from hooks/boilerplate.txt:
# examples/guestbook/redis-slave/run.sh
#
# Your commit will be aborted unless you fix these.
# COMMIT_BLOCKED_ON_BOILERPLATE
2014-09-24 09:07:21 -07:00
Robert Bailey
2c47883f64
Fixed a small typo in the guestbook-go build instructions.
2014-09-23 16:44:27 -07:00
Brendan Burns
31f4aba785
Fix some paths in the Dockerfiles.
2014-09-23 20:58:08 +00:00
Brendan Burns
9c8ba8495d
Merge pull request #1299 from Gurpartap/guestbook-go
...
Rewrite of the Guestbook example in Go
2014-09-23 13:34:15 -07:00
Joe Beda
590e4cbbb9
Tweak instructions for update demo
2014-09-22 13:20:10 -07:00
Clayton Coleman
855482c30f
Expand syntax validation for other examples
2014-09-19 13:14:33 -04:00
Brendan Burns
29cf1a783b
Initial add of a walkthrough of basic Kubernetes concepts.
2014-09-18 20:22:50 -07:00
Gurpartap Singh
b7d1b1ac3c
Updated guestbook based on suggestions in the pull request
...
Port of current guestbook's README.md
Fix guestbook pod and service names
Add go boilerplate
Use role label for redis pods
Give service.containerPort a name based value
This gives better env variable keys like REDIS_MASTER_SERVICE_REDIS_SERVER_ADDR, etc.
Avoid unnecessarily long names for service (esp in env vars)
Adding guestbook deploy/destroy scripts for k8s
These are probably only useful for quick testing. Maybe remove them
before merging the pull request.
Part of avoiding long names for services
Update Dockerfiles to git clone from Google's repo
Use correct service names while deleting them
Fix the script usage path.
K8s is not go gettable. Use git clone instead.
Using my fork in the Dockerfile to release and update to the docker hub
image.
Doesn't delete all pods if you remove controller too soon
Run the command in a shell to substitute env vars. Workaround for GoogleCloudPlatform/kubernetes#1309
GoogleCloudPlatform in lieu of my fork in Dckrfile
Some directory structure changes for guestbook src
README that explains the build process for source
Strip down the html and css to absolute essentials
Reformat JS according to Google's guidelines
Also added code to set random colors for elements.
Handle repetitive error checks using a common func
Also uses @roberthbailey’s stripped down code for reading env vars
infoString isn't really a string. Use info instead
Remove deploy.sh/destroy.sh scripts
Bind submit instead of keypress to capture submit
Add links to /env and /info in the footer
Reformat the JS
Incorporating suggestions by @filbranden
License boilerplate and some fixes to release.sh
Update README.md
Update README.md
Add building on boot2docker info to README
Accept docker bin path as a param for building
Use kubernetes user to host the image on registry
Don't get included in k8s's recursive build deps
https://github.com/GoogleCloudPlatform/kubernetes/pull/1299#discussion_r
17638061
2014-09-18 22:37:52 +05:30
Clayton Coleman
61e3ce7ddc
Make runtime less global for Codec
...
* Make Codec separate from Scheme
* Move EncodeOrDie off Scheme to take a Codec
* Make Copy work without a Codec
* Create a "latest" package that imports all versions and
sets global defaults for "most recent encoding"
* v1beta1 is the current "latest", v1beta2 exists
* Kill DefaultCodec, replace it with "latest.Codec"
* This updates the client and etcd to store the latest known version
* EmbeddedObject is per schema and per package now
* Move runtime.DefaultScheme to api.Scheme
* Split out WatchEvent since it's not an API object today, treat it
like a special object in api
* Kill DefaultResourceVersioner, instead place it on "latest" (as the
package that understands all packages)
* Move objDiff to runtime.ObjectDiff
2014-09-16 16:26:43 -04:00
Clayton Coleman
fe614aeda2
Simple refactor for ease of readability
...
runtime.DefaultCodec -> latest.Codec
2014-09-16 16:12:35 -04:00
Gurpartap Singh
13f79b00a0
Add Go guestbook's k8s config json files
2014-09-12 22:58:32 +05:30
Gurpartap Singh
b8fb169d22
Add Dockerfiles for compiling the guestbook and building a minimal image
2014-09-12 22:56:40 +05:30
Gurpartap Singh
4123b64840
Add the source for Go based Guestbook
2014-09-12 22:54:54 +05:30
Max Forbes
bd196ea49c
Fix some readme and script bugs in examples (take 2).
...
v2: Resolve issues from comments, fix bugs in update-demo example, rename files for clarity, add turn-down steps.
v3: Add more set commands, clean up rest of env var checks.
2014-09-11 15:06:10 -07:00
Brian Grant
276df0bf2a
Misc. doc updates: Go setup, ssh reqd. on GCE, etcd reqd. for local, moved community links to wiki
2014-09-11 20:10:49 +00:00
Joe Beda
769d3ad882
Revert "Fix some readme and script bugs in examples."
...
This reverts commit 42baed492b
.
2014-09-10 13:42:19 -07:00
Max Forbes
42baed492b
Fix some readme and script bugs in examples.
2014-09-10 13:34:36 -07:00
Daniel Smith
0d30a656ef
Do interface{} -> runtime.Object rename everywhere
2014-09-07 22:19:24 -07:00
Daniel Smith
1c2b65788d
Rename Codec and ResourceVersioner to add Default in front, to allow for types of those names
2014-09-07 22:19:24 -07:00
Joe Beda
ce34eacd2c
Fix up e2e test for update demo.
...
Use the scripts that are in the example directory. Also actually run the update as part of the test.
2014-09-04 13:25:39 -07:00
Joe Beda
6dd38e2f49
Add containerPort to services in guestbook example
2014-09-04 13:25:39 -07:00
Joe Beda
f8e2f927f6
Pretty up the demo a little.
...
Use images and some better formatting. Also add scripts to help prevent typos.
This based on an improved version done by Julia Ferraioli. She came up with the cool images.
2014-09-04 13:25:39 -07:00
Deyuan Deng
75470e6adf
Include pod status in kebecfg humanreadable result.
2014-09-03 20:26:32 -04:00
derekwaynecarr
ca3f5a9f46
Fixup name vs ID terminology
2014-09-03 10:27:33 -04:00
brendandburns
130bd408f7
Merge pull request #1124 from soundTricker/master
...
Fix a wrong explaining text about running command to create replication controllers.
2014-09-02 21:07:06 -07:00
Daniel Smith
a63966e73c
Combine pkg/apitools and pkg/api/common and call the result pkg/runtime
2014-09-02 11:15:44 -07:00
Daniel Smith
099c8fd36f
Propagate rename; tests pass again.
2014-09-02 10:42:06 -07:00
keisuke oohashi
2d1149061f
Fix a wrong explaining text about running command to create replication controller.
2014-09-01 13:24:38 +09:00
Daniel Smith
aa9b9b9fa8
Invert api and api/v1beta1 dependencies
...
This is some cleanup that has been needed for a while.
There's still one more step that could usefully be done, which is to
split up our api package into the part that provides the helper
functions and the part that provides the internal types. That can come
later.
The v1beta1 package is now a good example of what an api plugin should
do to version its types.
2014-08-29 12:15:30 -07:00
Clayton Coleman
baaabcaf11
Update the README.md with caveats about waiting
2014-08-20 18:46:10 -04:00
Deyuan Deng
db5ca769b4
typo
2014-08-15 22:52:16 -04:00
Deyuan Deng
f17218b9b7
Fix broken link, remove unnecessary content.
2014-08-15 22:26:51 -04:00
CJ Cullen
3c93d629f7
Fixed a couple typos in guestbook documentation.
2014-08-15 12:30:21 -07:00
Robert Bailey
76e81edfc6
Update the guestbook example to show the current json files from the examples/guestbook directory.
2014-07-30 16:52:58 -07:00
Daniel Smith
321ce0e1ce
Merge pull request #565 from brendandburns/api2
...
Fork API types.
2014-07-24 22:29:57 -07:00
Brendan Burns
3723eb7629
Add kind and apiVersion to guestbook example.
2014-07-24 22:13:43 -07:00
Brendan Burns
854b9e14bd
Augment the update example to turn black if the server is not responding.
2014-07-24 21:46:35 -07:00
Clayton Coleman
044779126b
Add unit tests for example syntax
...
Tests api/examples, examples, and any embedded json in readme.
2014-07-23 15:18:55 -04:00
brendandburns
245feaf722
fix json.
2014-07-23 00:04:28 -07:00
brendandburns
46ac0aa81d
modified to drop the leading '/'
...
Since it doesn't work @ head.
2014-07-22 23:56:43 -07:00
Clayton Coleman
d9d92679c3
Some examples don't pass Manifest validation
2014-07-22 20:17:14 -04:00
Kelsey Hightower
64618cd539
fix guestbook example to match docs
2014-07-19 22:22:33 -07:00
Brendan Burns
ac1be8cc97
Move guestbook.md to README.md for default display by github.
2014-07-14 21:33:37 -07:00
Julia Ferraioli
7925cce67c
adding firewall instructions to the README
2014-07-14 15:24:50 -07:00
Takeshi Hagikura
f92cc6a948
Replace the outdated cloudcfg.sh to kubecfg.sh
...
Replaces the outdated cloudcfg.sh to kubecfg.sh in the dynamic update demo.
2014-07-02 07:35:08 +09:00
Tim Hockin
9affd6d260
Fix examples to set manifest ID and version
...
Part 4 in a series of changes towards data validation.
2014-06-30 16:16:06 -07:00
Brendan Burns
22f25b9433
Change the frontend port in the guestbook example to 8000
2014-06-27 16:48:35 -07:00
Brendan Burns
23c971605e
Initial add of cloud-demo
2014-06-26 18:52:08 -07:00
Daniel Smith
c97c514742
Rename cloudcfg to kubecfg
2014-06-25 18:01:37 -07:00
Ingo Gottwald
de062f6720
Fix guestbook example json syntax error
2014-06-20 11:51:38 +02:00
Daniel Smith
cfce408266
Rename ReplicasInSet to ReplicaSelector
2014-06-19 13:31:42 -07:00
Daniel Smith
f9e9a7c686
Update guestbook example
2014-06-19 13:31:42 -07:00
Brendan Burns
2759b2367f
Add load balancing support to services.
2014-06-17 12:37:39 -07:00
Brian Dorsey
a5306feafe
fix typo in guestbook URL
2014-06-15 16:13:49 -07:00
Brian Dorsey
bfd7c96ac1
Updated cloudconfig.sh output examples
...
Updated cloudconfig.sh output examples to match what the tool currently prints.
Added specific gcutil commands to get public IP addresses, and create the firewall rules.
2014-06-15 16:12:13 -07:00
Brian Dorsey
fe31617454
Add hack/build-go.sh to step zero
...
(needed when working from a completely clean install)
2014-06-15 15:36:56 -07:00
Brian Lynch
79eb0688cb
Update guestbook.md
...
The previous gcutil command fails to connect:
lynchb-macbookpro2:kubernetes lynchb$ gcutil ssh kubernetes-minion-3 --zone us-central1-b
INFO: Zone for kubernetes-minion-3 detected as us-central1-b.
INFO: Running command line: ssh -o UserKnownHostsFile=/dev/null -o CheckHostIP=no -o StrictHostKeyChecking=no -i /Users/lynchb/.ssh/google_compute_engine -A -p 22 lynchb@23.236.61.38 -- --zone us-central1-b
Warning: Permanently added '23.236.61.38' (RSA) to the list of known hosts.
bash: --: invalid option
Usage: bash [GNU long option] [option] ...
bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
2014-06-13 15:03:17 -07:00
Joe Beda
110a390c97
Switch from `gcloud compute` to `gcutil`.
...
We'll switch back to the future once the interface has settled down.
2014-06-12 15:43:00 -07:00
Brendan Burns
a54f3e0001
Add executable bit.
2014-06-11 12:43:56 -07:00
Brendan Burns
30f7fc5e3b
Added the example dockerfiles.
2014-06-11 12:35:03 -07:00
MikeJeffrey
40c208a38d
Re-adding code language annotations
2014-06-09 14:37:43 -07:00
MikeJeffrey
73bf839999
Expanding guestbook documentation
...
Mostly adding response details, also adding file path to example .json files.
2014-06-09 14:05:14 -07:00
Brendan Burns
6018497174
Task -> Pod part #3
2014-06-08 22:38:45 -07:00
Brendan Burns
66e2575f2b
More Task -> Pod
2014-06-08 21:43:17 -07:00
Johan Euphrosine
c4b07b16df
guestbook: add link to cloud console
2014-06-07 02:11:23 -07:00
Johan Euphrosine
859f5a1552
guestbook: s/services/tasks/
2014-06-07 02:02:32 -07:00
Johan Euphrosine
f528ef8018
guestbook: add link to cluster setup instruction
2014-06-07 01:50:26 -07:00
Joe Beda
894a7e3282
Move everything out of src and reorganize scripts.
...
Fixed up some scripts to be more robust. Changed the e2e test setup to use g1-small instances. Fixed up documentation to reflect the new script locations. Disabled the "curl | bash" cluster launch as it hasn't been well tested and doesn't include the cloudcfg tool yet.
2014-06-06 21:41:19 -07:00
Daniel Smith
130560a769
Proofread guestbook.md
2014-06-06 17:31:45 -07:00
Joe Beda
2c4b3a562c
First commit
2014-06-06 16:40:48 -07:00