Commit Graph

2253 Commits

Author SHA1 Message Date
Joe Beda
01a1723e7f Merge pull request #1364 from smarterclayton/longer_hack_test_timeout
Increase the hack/test-go.sh timeout to account for more fuzzing
2014-09-18 11:31:06 -07:00
Clayton Coleman
27bbd7df56 Increase the hack/test-go.sh timeout to account for more fuzzing
We fuzz v1beta1 and v1beta2 now, so fuzzer takes twice as long.
2014-09-18 14:17:32 -04:00
Jeff Mendoza
feae137047 Minor update to Azure getting started guide. 2014-09-18 10:57:39 -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
Brendan Burns
a4912d7203 Merge pull request #1342 from jwforres/websocket_connection_header
Match any Connection header that contains the Upgrade token for websocke...
2014-09-18 09:47:07 -07:00
Brendan Burns
cb158e0d72 Merge pull request #1361 from jbeda/vsphere-docs
Fix up source install instructions for VSphere
2014-09-18 09:46:53 -07:00
Joe Beda
a1071288ae Fix up source install instructions for VSphere
I skip using `go get` as it downloads all of the dependencies. But since we are vendoring using godep without rewriting imports, this means we download a bunch of stuff we don't use.  Instead, just clone the repo directly.

Fixes #1360.
2014-09-18 09:09:49 -07:00
Joe Beda
4487f311ab Merge pull request #1326 from lavalamp/scheduler
Fix cache to use the "List then Watch" pattern.
2014-09-18 09:00:52 -07:00
Jessica Forrester
f2732f18a7 Match any Connection header that contains the Upgrade token for websockets 2014-09-18 09:26:21 -04:00
jhadvig
9f34eaef9e kubelet server test cases 2014-09-18 14:17:10 +02:00
Brendan Burns
17cbde0c5a Adjust the logic, so that if the apiserver restarts, or has no pod info
for some other reason, pods on missing machines are still 'terminated'
2014-09-17 21:57:11 -07:00
Brendan Burns
f7a5ec3c36 Merge pull request #1349 from nictuku/master
Local install: add link to Docker install instructions
2014-09-17 21:29:17 -07:00
Daniel Smith
b3bfef9127 Merge pull request #1347 from brendandburns/healthz
Fix a problem where if a minion went missing, we still thought the pod was running.
2014-09-17 18:26:44 -07:00
Brendan Burns
99586b4da4 Fix a problem where if a minion went missing, we still thought the pod was running.
Also convert some tests to table driven.
2014-09-17 18:16:52 -07:00
Joe Beda
7f05db56c5 Merge pull request #1350 from brendandburns/privilege
fix salt.
2014-09-17 17:14:42 -07:00
Brendan Burns
bb829ce8f6 fix salt. 2014-09-17 17:13:41 -07:00
Yves Junqueira
21cb9d19c2 Local install: add link to Docker install instructions 2014-09-18 01:23:26 +02:00
Joe Beda
698fbddc9d Merge pull request #1341 from VojtechVitek/update_etcd_readme
Update etcd installation steps in README
2014-09-17 16:00:11 -07:00
Brendan Burns
a1439542a1 Merge pull request #1343 from dbcode/master
Improve error detection for URL manifests, and skip parsing if content unchanged
2014-09-17 15:34:56 -07:00
Joe Beda
b83276a872 Merge pull request #1345 from brendandburns/privilege
Add a salt flag for enabling privileged containers.
2014-09-17 14:50:32 -07:00
brendandburns
3d5f04bfba Update the CoreOS instructions 2014-09-17 14:37:57 -07:00
Brendan Burns
ffa4500e09 Add a salt flag for enabling privileged containers. 2014-09-17 14:25:28 -07:00
jhadvig
f3f5d0200c Using podID+containerName for querying the logs 2014-09-17 21:00:09 +02:00
Dave Bailey
14fcf68edc Improve error detection for URL manifests, and skip parsing if content unchanged. 2014-09-17 17:43:44 +00:00
Vojtech Vitek (V-Teq)
5ea0bf9a11 Update etcd installation steps in README 2014-09-17 12:17:06 +02:00
brendandburns
ac8ee45f4f Merge pull request #1339 from thockin/proxy
Don't store name twice in proxy
2014-09-16 19:36:50 -07:00
Tim Hockin
450ccde521 Don't store name twice in proxy 2014-09-16 17:04:23 -07:00
Tim Hockin
d6bb688997 Merge pull request #1216 from thockin/ident
Revisit identifiers spec
2014-09-16 16:44:14 -07:00
brendandburns
16c1e31162 Fix etcd install instructions. 2014-09-16 16:27:30 -07:00
Daniel Smith
4e9cf2ccb4 Add field selector to List, implement for pods. 2014-09-16 16:17:16 -07:00
Daniel Smith
3f659f7d74 Plumb pkg/client/cache changes into scheduler 2014-09-16 16:17:16 -07:00
Daniel Smith
b1169ed91e Fix cache to use the "List then Watch" pattern. 2014-09-16 16:17:15 -07:00
Dawn Chen
cacf888e49 Merge pull request #1336 from brendandburns/privilege
Refactor to clean up names.
2014-09-16 15:30:13 -07:00
Brendan Burns
dc5a4a8c3f Refactor to clean up names. 2014-09-16 15:19:02 -07:00
erictune
506f51b186 Merge pull request #1330 from brendandburns/privilege
Only allow privileged containers if API server flag set.  Adds capabilities package.
2014-09-16 15:12:26 -07:00
Daniel Smith
0b75f7b543 Merge pull request #1275 from smarterclayton/v1beta2
Create v1beta2 and allow multiple Codec encodings to exist
2014-09-16 14:52:04 -07:00
Daniel Smith
0727b5a6c8 Merge pull request #1302 from brendandburns/validatez
Add a validator for validating components in the cluster infrastructure.
2014-09-16 14:36:10 -07:00
Clayton Coleman
23307344ee Add round trip tests for default encoding
Turn down iterations a bit for speed
2014-09-16 17:27:59 -04:00
Brendan Burns
f8844ce69e Add a validator for validating components in the cluster infrastructure. 2014-09-16 13:37:01 -07:00
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
154a91cd33 Rename runtime.DefaultScheme to latest.Codec for ease of readability 2014-09-16 16:19:35 -04:00
Clayton Coleman
fe614aeda2 Simple refactor for ease of readability
runtime.DefaultCodec -> latest.Codec
2014-09-16 16:12:35 -04:00
Clayton Coleman
10f68902f6 Add v1beta2 API objects 2014-09-16 16:11:26 -04:00
Brendan Burns
5b9e2a55b5 Add a flag to reject privileged containers in the apiserver. 2014-09-16 11:22:32 -07:00
Dawn Chen
5bf6fb0677 Merge pull request #1334 from whitel/patch-1
Fixing links to the Fedora Getting Started Guides
2014-09-16 11:04:32 -07:00
Filipe Brandenburger
44ffe58bc7 Merge pull request #1324 from jbeda/binary-release
Build separate various binary tarballs
2014-09-16 11:00:49 -07:00
whitel
6619b30b4f Fixing links to the Fedora Getting Started Guides 2014-09-16 13:41:03 -04:00
Dawn Chen
45f5f8d078 Merge pull request #1333 from pmorie/validation
Expose validation method for ReplicationControllerState
2014-09-16 10:03:25 -07:00
Joe Beda
90f7bfa4f1 Build separate various binary tarballs.
Also a bunch of script clean up.  Make make-clean.sh faster and more robust.

Building the docker run images and uploading to GCS are now optional and turned off by default. Doing a release shouldn't hit the network now (I think).
2014-09-16 09:58:09 -07:00
Paul Morie
f94198c7a3 Expose validation method for ReplicationControllerState 2014-09-16 12:55:27 -04:00