Anish Bhatt
6e46fa1fd4
Add support for open-iscsi transports.
...
This enables use of software or hardware transports viz. be2iscsi,
bnx2i, cxgb3i, cxgb4i, qla4xx, iser and ocs. The default transport
(tcp) happens to be called "default".
Use of non-default transports changes the disk path to the following format:
/dev/disk/by-path/pci-<pci_id>-ip-<portal>-iscsi-<iqn>-lun-<lun_id>
2015-12-08 17:28:06 -08:00
k8s-merge-robot
810181fb7b
Merge pull request #17278 from ZJU-SEL/fix-nil-tag
...
Auto commit by PR queue bot
2015-12-06 12:52:39 -08:00
derekwaynecarr
54f5bb393b
Fix missing field selector conversions in v1
2015-12-04 15:43:05 -05:00
Tim Hockin
e6df0b1a24
Convert validation to use FieldPath
...
Before this change we have a mish-mash of ways to pass field names around for
error generation. Sometimes string fieldnames, sometimes .Prefix(), sometimes
neither, often wrong names or not indexed when it should be.
Instead of that mess, this is part one of a couple of commits that will make it
more strongly typed and hopefully encourage correct behavior. At least you
will have to think about field names, which is better than nothing.
It turned out to be really hard to do this incrementally.
2015-12-03 08:19:44 -08:00
k8s-merge-robot
c5924d20a5
Merge pull request #17817 from mqliang/eventtype
...
Auto commit by PR queue bot
2015-12-03 05:55:46 -08:00
k8s-merge-robot
727412c5ce
Merge pull request #15533 from ZJU-SEL/git-volume
...
Auto commit by PR queue bot
2015-12-01 13:14:23 -08:00
Harry Zhang
70a9c0bf56
Add directory in GitRepo and updated tests.
...
Update validate and gitRepo
Update generated code
2015-12-02 00:20:38 +08:00
k8s-merge-robot
77e9066ebb
Merge pull request #17099 from feihujiang/moveDefaultingFuncsFromInternalToV1
...
Auto commit by PR queue bot
2015-12-01 07:13:26 -08:00
mqliang
9ff765978a
add filedselector for Event
2015-12-01 23:02:48 +08:00
Harry Zhang
5552d7007c
Add default when latest not claimed
2015-11-30 17:10:50 +08:00
Clayton Coleman
9d19238f6c
Fix tests to pass with changed external types
2015-11-26 11:53:37 -05:00
Clayton Coleman
af7e7f146d
Generated code
2015-11-26 11:53:36 -05:00
Clayton Coleman
1d592e4c28
Unversioned types should not use ambiguous go-int
...
All external types that are not int64 are now marked as int32,
including
IntOrString. Prober is now int32 (43 years should be enough of an initial
probe time for anyone).
Did not change the metadata fields for now.
2015-11-26 11:45:25 -05:00
k8s-merge-robot
fc694ea787
Merge pull request #16725 from wojtek-t/update_ugorji
...
Auto commit by PR queue bot
2015-11-25 22:14:20 -08:00
deads2k
ed95a6d77f
update scheme to use GroupVersion
2015-11-25 12:15:48 -05:00
k8s-merge-robot
3bd23b185b
Merge pull request #17730 from wojtek-t/use_unversioned_list_options_in_client
...
Auto commit by PR queue bot
2015-11-25 09:10:19 -08:00
Wojciech Tyczynski
58062bc347
Regenerate files
2015-11-25 12:34:05 +01:00
k8s-merge-robot
3e56ce6490
Merge pull request #17327 from deads2k/gv-restmapper
...
Auto commit by PR queue bot
2015-11-24 19:08:49 -08:00
Wojciech Tyczynski
b6ef62af24
Use unversioned.ListOptions in clients.
2015-11-24 16:52:09 +01:00
Avesh Agarwal
c053290e04
This commit regenerates docs.
2015-11-24 09:59:54 -05:00
Avesh Agarwal
3d5207fd73
This commit adds type information to events.
...
This addresses issue #15624 .
2015-11-24 09:59:54 -05:00
Avesh Agarwal
751e7ba67c
This commit regenerates types.generated.go in pka/api and pkg/api/v1.
2015-11-24 09:59:54 -05:00
deads2k
5077e9b644
make register.GroupVersion use GroupVersion
2015-11-24 09:45:36 -05:00
k8s-merge-robot
32c240b350
Merge pull request #17245 from thockin/airplane_validation_pt1
...
Auto commit by PR queue bot
2015-11-23 06:45:28 -08:00
Wojciech Tyczynski
77fd936b5f
Create unversioned.ListOptions object.
2015-11-23 09:55:33 +01:00
Tim Hockin
48b49a5cae
s/ValidationErrorList/ErrorList/
2015-11-22 20:13:20 -08:00
Tim Hockin
0ff66da346
Move fielderrors into validation
2015-11-22 20:12:20 -08:00
Tim St. Clair
e4eff4bd6b
Fix typo: s/recieve/receive/
2015-11-19 19:23:40 -08:00
Tim Hockin
ba383bcfeb
Refactor IntOrString into a new pkg
...
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions. No behavioral change.
2015-11-16 10:57:52 -08:00
feihujiang
8cf6d785b7
Move defaulting funcs from internal to v1
2015-11-11 15:09:16 +08:00
Tim St. Clair
1e88a682da
Add liveness/readiness probe parameters
...
- PeriodSeconds - How often to probe
- SuccessThreshold - Number of successful probes to go from failure to success state
- FailureThreshold - Number of failing probes to go from success to failure state
This commit includes to changes in behavior:
1. InitialDelaySeconds now defaults to 10 seconds, rather than the
kubelet sync interval (although that also defaults to 10 seconds).
2. Prober only retries on probe error, not failure. To compensate, the
default FailureThreshold is set to the maxRetries, 3.
2015-11-06 10:46:40 -08:00
Daniel Smith
3f3ca480be
Merge pull request #16080 from yujuhong/reset_defaults
...
Add custom pod conversion functions from pre-v1.1 mirror pods
2015-10-27 15:47:34 -07:00
Yu-Ju Hong
e5c82d2292
Add custom pod conversion functions from pre-v1.1 mirror pods
...
The functions would default values added after v1.0, so that kubelet wouldn't
fail at comparing the mirror pods against their associated static pods.
This code would need to be maintained if we ever change the default value in
Pod until we drop support for v1.0 nodes.
2015-10-27 10:50:30 -07:00
Madhusudan.C.S
9c4424f0bd
Report out of disk as a node condition when node goes out of disk.
...
Define a new out of disk node condition and use it to report when node
goes out of disk.
Make a copy of loop range clause variable in node listers so that it
is available outside the for loop.
Also update/implement unit tests.
2015-10-26 15:01:20 -07:00
Wojciech Tyczynski
aa57f607f6
Update auto-generated files
2015-10-24 13:29:37 +02:00
Wojciech Tyczynski
f4d75e0a0a
Support timeout in watch requests
2015-10-24 13:12:49 +02:00
Paul Morie
3cd12f5e05
FSGroup implementation
2015-10-22 16:40:59 -04:00
Paul Morie
393e2bc019
Inline some SecurityContext fields into PodSecurityContext
2015-10-21 19:01:17 -04:00
Sami Wagiaalla
030f882f06
Add Support for supplemental groups
2015-10-20 12:44:32 -04:00
Mike Danese
ac5524d84d
Merge pull request #14496 from kargakis/deep-copies-fix
...
deep-copies: Structs cannot be nil
2015-10-19 10:28:55 -07:00
Clayton Coleman
d6fcc332af
Codecgen output for stdinOnce
2015-10-16 20:33:52 -04:00
Clayton Coleman
e929baf91a
Support stdinOnce, which allows run-once STDIN injection
...
This allows containers to wait for input before startup by listening
on STDIN, and after STDIN is closed, continue running. Matches the
Docker syntax.
2015-10-16 20:33:50 -04:00
Wojciech Tyczynski
d51965bf00
Autogenerate files.
2015-10-16 10:20:02 +02:00
kargakis
ef36b3e4f6
deep-copies: Structs cannot be nil
2015-10-12 15:21:30 +02:00
Paul Morie
227dd82119
Add PodSecurityContext and backward compatibility tests
2015-10-05 21:05:27 -04:00
Álex González
fa39c2b032
Add flocker volume plugin
...
Flocker [1] is an open-source container data volume manager for
Dockerized applications.
This PR adds a volume plugin for Flocker.
The plugin interfaces the Flocker Control Service REST API [2] to
attachment attach the volume to the pod.
Each kubelet host should run Flocker agents (Container Agent and Dataset
Agent).
The kubelet will also require environment variables that contain the
host and port of the Flocker Control Service. (see Flocker architecture
[3] for more).
- `FLOCKER_CONTROL_SERVICE_HOST`
- `FLOCKER_CONTROL_SERVICE_PORT`
The contribution introduces a new 'flocker' volume type to the API with
fields:
- `datasetName`: which indicates the name of the dataset in Flocker
added to metadata;
- `size`: a human-readable number that indicates the maximum size of the
requested dataset.
Full documentation can be found docs/user-guide/volumes.md and examples
can be found at the examples/ folder
[1] https://clusterhq.com/flocker/introduction/
[2] https://docs.clusterhq.com/en/1.3.1/reference/api.html
[3] https://docs.clusterhq.com/en/1.3.1/concepts/architecture.html
2015-10-01 01:10:00 +01:00
Tim Hockin
f14709b493
Restore deprecatedPublicIPs for compat
...
The v1 API will retain deprecatedPublicIPs, but externalIPs is preferred.
2015-09-24 17:21:07 -07:00
Tim Hockin
fd91d3f0ec
Make patch-up conversions simpler
...
Rather than an "all or nothing" approach to defining a custom conversion
function (which seems destined to cause problems eventually), this is an
attempt to make it possible to call the auto-generated code and then "fix it
up".
Specifically, consider you have a fooBar struct. If you don't define a
conversion for FooBar, you will get a generated function like:
convert_v1_FooBar_To_api_FooBar()
Before this PR, if you define your own conversion function, you get no
generated function. After this PR you get:
autoconvert_v1_FooBar_To_api_FooBar()
...which you can call yourself in your custom function.
2015-09-24 17:21:07 -07:00
Chao Xu
3473212ea5
remove thirdParty API from api/v1/ and api/
2015-09-24 16:31:00 -07:00
Chao Xu
ae1293418b
move experimental/v1 to experimental/v1alpha1;
...
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
derekwaynecarr
025f24aa6d
Make requests defaulting only work on pods
2015-09-22 14:11:01 -04:00
k8s-merge-robot
c96c76b729
Merge pull request #13780 from smarterclayton/pod_logs
...
Auto commit by PR queue bot
2015-09-21 17:02:47 -07:00
Clayton Coleman
c2e90cd154
Support extended pod logging options
...
Increase the supported controls on pod logging. Add validaiton to pod
log options. Ensure the Kubelet is using a consistent, structured way to
process pod log arguments.
Add ?sinceSeconds=<durationInSeconds>, &sinceTime=<RFC3339>, ?timestamps=<bool>,
?tailLines=<number>, and ?limitBytes=<number>
2015-09-21 15:39:32 -04:00
k8s-merge-robot
81ec641f15
Merge pull request #14257 from feihujiang/removeCodeAboutMinionAgain
...
Auto commit by PR queue bot
2015-09-21 11:45:40 -07:00
k8s-merge-robot
843134885e
Merge pull request #12470 from simon3z/add-host-ipc
...
Auto commit by PR queue bot
2015-09-21 09:15:01 -07:00
feihujiang
c99172924c
Remove useless code about minion
2015-09-21 14:51:19 +08:00
k8s-merge-robot
6dad530a1f
Merge pull request #12599 from rootfs/fc_volume
...
Auto commit by PR queue bot
2015-09-20 17:20:26 -07:00
gmarek
a5de60f985
Fix swagger docs
2015-09-19 20:16:45 +02:00
Huamin Chen
ed9a1bbd3a
support fibre channel volume
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-18 19:15:31 -04:00
Federico Simoncelli
f21d9ac9e4
Support pods with containers using host ipc
...
Add a HostIPC field to the Pod Spec to create containers sharing
the same ipc of the host.
This feature must be explicitly enabled in apiserver using the
option host-ipc-sources.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-09-18 21:13:39 +02:00
nikhiljindal
6523ec142b
Adding more fields to PodCondition
2015-09-18 05:26:13 -07:00
Daniel Martí
586cb9126a
Move pkg/util.Time to pkg/api/unversioned.Time
...
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Kris
c5f22a025a
Regenerating everything
2015-09-17 14:09:53 -07:00
Kris
f4ad00d9ae
Moving Status object to a common package
2015-09-17 14:09:53 -07:00
k8s-merge-robot
055f5ff9b9
Merge pull request #13649 from markturansky/prov_deleter
...
Auto commit by PR queue bot
2015-09-17 12:59:45 -07:00
k8s-merge-robot
7cee028497
Merge pull request #13778 from smarterclayton/unready_endpoints
...
Auto commit by PR queue bot
2015-09-17 11:36:17 -07:00
markturansky
c2de9e9647
Added volume.Deleter interface and simple HostPath implementation
2015-09-17 12:08:58 -04:00
Clayton Coleman
bf2decce81
Add NotReadyAddresses to Endpoints
...
In many cases clients may wish to view not ready addresses for endpoints
in order to do set membership prior to a pod being ready. For instance,
a pod that uses the service endpoints to connect to other pods under
the same service, but does not want to signal ready before it has
contacted at least a minimal number of other pods.
This is backwards compatible with old servers and clients. There is
an additional cost in size of endpoints before services ramp up, which
will add minor CPU and memory use for services that have a significant
number of pods which have not become ready.
2015-09-17 09:41:56 -04:00
feihujiang
51f59f3c78
Fix the wrong path of document
2015-09-17 20:38:08 +08:00
k8s-merge-robot
445fde3dc5
Merge pull request #13447 from pweil-/pid-mode
...
Auto commit by PR queue bot
2015-09-16 23:34:35 -07:00
k8s-merge-robot
de233d35da
Merge pull request #13958 from feihujiang/removeUselessCodeAboutMinion
...
Auto commit by PR queue bot
2015-09-16 17:59:00 -07:00
k8s-merge-robot
22f698f5b0
Merge pull request #13953 from liguangbo/change_iff_to_if_and_only_if
...
Auto commit by PR queue bot
2015-09-16 08:35:20 -07:00
liguangbo
4df68f03a3
change iff to if and only if to improve annotation readability
2015-09-16 08:29:36 +00:00
feihujiang
ba38a8764b
Remove useless codes about minion
2015-09-16 14:22:53 +08:00
gmarek
4b8ddf3d7e
Add information about ports opened by Kubelet to API
2015-09-15 14:24:55 -04:00
Paul Weil
ed80c2b940
pid mode
2015-09-15 13:51:44 -04:00
k8s-merge-robot
6f01200188
Merge pull request #13727 from jiangyaoguo/fix-reason-reporting-in-kubelet
...
Auto commit by PR queue bot
2015-09-11 12:32:20 -07:00
Abhishek Shah
44ce4aa423
Create a LB for a K8S with the LB-IP provided by user.
2015-09-10 21:05:06 -07:00
jiangyaoguo
62c0c35307
Fix reporting reason in kubelet
...
1. Make reason field of StatusReport objects in kubelet in CamelCase format.
2. Add Message field for ContainerStateWaiting to describe detail about Reason.
3. Make reason field of Events in kubelet in CamelCase format.
4. Update swagger,deep-copy and so on.
2015-09-11 10:01:08 +08:00
markturansky
b6feefbd9f
fixed empty PV/C lists by removing omitempty
2015-09-04 09:51:17 -04:00
Abhi Shah
1b0cf281e5
Merge pull request #13000 from brendandburns/schema-api-2
...
Add support for dynamic APIs
2015-09-02 13:53:28 -07:00
Brendan Burns
2df5010834
Merge branch 'sdminonne-container_sidecar'
2015-09-02 10:42:08 -07:00
Salvatore Dario Minonne
f4dc0653aa
adding downward api volume plugin
2015-09-01 22:23:03 +02:00
Huamin Chen
fe559f2726
implement Ceph FS volume plugin and add to e2e volume test
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-01 14:05:17 -04:00
Brendan Burns
b196d0f84b
Add support for installing custom object APIs
2015-08-31 21:13:36 -07:00
Brendan Burns
828e4d35a7
Add a storage implementation for thirdpartyresources.
2015-08-31 21:11:43 -07:00
Sreekanth Pothanis
f5da6b34ce
Cinder Volume Plugin
2015-08-30 19:56:27 -07:00
Prashanth B
52f7833cd3
Revert "Revert "LimitRange updates for Resource Requirements Requests""
2015-08-28 09:26:36 -07:00
Mike Danese
b772a9b74f
run autogenerated updates
2015-08-27 11:47:35 -07:00
Mike Danese
8460e3913d
move daemon controller to the experimental api
2015-08-27 11:47:35 -07:00
Piotr Szczesniak
6e05b9e3a3
Revert "LimitRange updates for Resource Requirements Requests"
2015-08-27 10:50:50 +02:00
derekwaynecarr
8fbe4645e3
Add fields to LimitRange object
2015-08-24 15:18:45 -04:00
Nikhil Jindal
a09425d828
Merge pull request #10933 from andronat/swagger_auto_type_docs
...
Automatic Generation of Swagger Documentation in Types
2015-08-24 10:35:58 -07:00
Anastasis Andronidis
10747841a0
move type documentation from tags to comments
2015-08-22 03:24:35 +02:00
Brendan Burns
5d664892f2
Add a storage implementation for thirdpartyresources.
2015-08-21 17:21:40 -07:00
k8s-merge-robot
44c76d5319
Merge pull request #12957 from smarterclayton/handle_terminating_pods
...
Auto commit by PR queue bot
2015-08-20 21:47:00 -07:00
Abhishek Shah
b6b8e99393
External IPs support.
2015-08-20 16:10:01 -07:00
Clayton Coleman
02dbb95447
Add TerminationGracePeriodSeconds to API
...
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Tim Hockin
86f4535871
Check loopback and link-local multicast endpoints
...
Previously we just disallowed link-local (unicast). This disallows loopback
and link-local multicast.
2015-08-18 21:50:27 -07:00
Robert Bailey
08e6a43c1d
Revert "Merge pull request #9165 from smarterclayton/graceful"
...
This reverts commit 4f856b595d
, reversing
changes made to d78525a83b
.
Conflicts:
pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Clayton Coleman
b842a7dd15
Revert "Revert "Gracefully delete pods from the Kubelet""
...
This reverts commit 98115facfd
.
2015-08-18 08:57:02 -04:00
Robert Bailey
736945faba
Merge pull request #12831 from thockin/nodeport-optional
...
Make nodePort optional in v1 API
2015-08-17 16:27:17 -07:00
Tim Hockin
75941afab2
Make nodePort optional in v1 API
2015-08-17 15:44:37 -07:00
Paul Morie
8ddef45679
Fix issue 10587; update SecurityContext godoc
2015-08-17 11:23:11 -04:00
Brendan Burns
a9580a0ad0
Merge pull request #12595 from smarterclayton/add_pod_status_ip
...
Add status.podIP as a valid downward API target
2015-08-14 20:29:50 -07:00
Brendan Burns
9cc5156b69
Merge pull request #12685 from eparis/goimports
...
Remove dependancy on external goimports binary
2015-08-14 20:29:00 -07:00
Clayton Coleman
01f3785426
Add status.podIP as a valid downward API target
...
Getting the public IP a container is supposed to use is O(hard),
and usually involves ugly gyrations in python or with interfaces.
Using the downward API means that the IP Kube is announcing to
other endpoints is also visible inside the container for pods to
identify themselves.
2015-08-14 17:51:55 -04:00
Eric Paris
8f3577e5d2
Do not use goimports in hack/update-generated-conversions.sh
...
Stop depending on an external binary needing to be on people's system.
Use the code directly.
2015-08-13 19:37:01 -04:00
Eric Paris
00929ed7d8
Convert generated-deep-copies to use golang.org/x/tools/imports
...
I don't like users to need an external binary which can easily get out
of sync. Just include the tools.
2015-08-13 19:36:57 -04:00
Brendan Burns
1055eed9b6
Add initial storage types to the Kubernetes API
2015-08-13 09:25:02 -07:00
Piotr Szczesniak
eb01d49783
Merge pull request #12556 from uluyol/copynilinterface
...
Properly handle nil interfaces in DeepCopy.
2015-08-12 09:54:02 +02:00
Muhammed Uluyol
bc8bc37282
Properly handle nil interfaces in DeepCopy.
...
Running reflect.ValueOf(X) where X is a nil interface will return
a zero Value. We cannot get the type (because no concrete type is
known) and cannot check if the Value is nil later on due to the way
reflect.Value works. So we should handle this case by immediately
returning nil. We cannot type-assert a nil interface to another
interface type (as no concrete type is assigned), so we must add
another check to see if the returned interface is nil.
2015-08-11 17:59:32 -07:00
Muhammed Uluyol
567bb15432
Generate conversions/deep-copies for experimental. Currently we make (and register) duplicate functions but this is benign.
2015-08-11 17:12:24 -07:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Filip Grzadkowski
3f7b54cbdb
Merge pull request #11669 from pweil-/sc-nonroot
...
add non-root directive to SC and kubelet checking
2015-08-11 10:30:53 +02:00
Alex Robinson
33178dce96
Merge pull request #12496 from nikhiljindal/portDescription
...
Fixing a typo in port swagger description
2015-08-10 14:10:48 -07:00
nikhiljindal
a698acd3c8
Fixing a typo in port swagger description
2015-08-10 13:32:46 -07:00
Paul Weil
e490c20c22
add non-root directive to SC and kubelet checking
2015-08-10 13:30:34 -04:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
Satnam Singh
bee48f4ce5
Merge pull request #12035 from AnanyaKumar/requests
...
Add support for request
2015-08-07 14:27:34 -07:00
AnanyaKumar
d9b85652ae
Add Daemon API
2015-08-06 13:15:19 -07:00
Ananya Kumar
ef1e576810
Add support for request
2015-08-05 19:00:19 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Alex Mohr
867f9b22c5
Merge pull request #12119 from brendandburns/fix
...
Auto commit by PR queue bot
2015-08-03 20:47:42 -07:00
Alex Mohr
3d2d99c6fd
Merge pull request #12007 from brendandburns/stdin
...
Auto commit by PR queue bot
2015-08-03 19:28:16 -07:00
Brendan Burns
7ad8307926
Set some default values and add some additional comments for clarity.
2015-07-31 22:00:30 -07:00
Brendan Burns
51757f6552
Add parameters for interactive containers. Useful with kubectl attach.
2015-07-31 21:41:58 -07:00
Brendan Burns
e8e756a719
Add pod/attach to the APIServer.
2015-07-30 10:55:53 -07:00
Clayton Coleman
1d41f5ac75
Update generated conversions
2015-07-29 17:07:14 -04:00
Clayton Coleman
487fe2d116
Update deep copies
2015-07-29 17:06:55 -04:00
Chao Xu
cbeed829b7
update the links in v1/types.go
2015-07-24 18:08:05 -07:00
jayunit100
6ca376fd12
Update comments to remove etcd specificity and minion / list term.
2015-07-23 17:41:44 -04:00
Max Forbes
7a3891e5f8
Add ServiceAccount as an alias for ServiceAccountName
2015-07-16 15:48:49 -07:00
Zach Loafman
6ea0c2b3b7
Fix gofmt from #11084
...
(cherry picked from commit 63c73a58a5
)
2015-07-10 17:14:12 -07:00
Brendan Burns
2f47b3ed11
add spec.host as a synonym for spec.nodeName in v1
2015-07-10 15:16:48 -07:00
Janet Kuo
9c3c23686f
Embed doc URLs in swagger document
2015-07-07 14:23:52 -07:00
Tim Hockin
3caf3ccad2
make API descriptions use releases.k8s.io
2015-07-04 13:32:22 -07:00
Tim Hockin
025f728e50
Fix 'a' vs 'an'
2015-06-28 20:51:36 -07:00
Robert Bailey
6b97ac0880
Merge pull request #10131 from thockin/svc-docs
...
Hopefully make NodePort docs clearer
2015-06-26 21:50:46 -07:00
Robert Bailey
f9db614f95
Merge pull request #10234 from mikedanese/rolling-update-weird
...
Detect if replicas have been defaulted in rolling-update and use old replica count
2015-06-26 12:54:35 -07:00
Robert Bailey
0048eae8eb
Merge pull request #9965 from stevekuznetsov/skuznets/allow-https
...
Allowing for HTTPS Probes
2015-06-26 10:43:37 -07:00
Maxwell Forbes
712f303350
Merge pull request #9736 from sdminonne/bug_fix2
...
To add validation for service ports when defined as string
2015-06-25 19:37:04 -07:00
Steve Kuznetsov
3008ff6150
Changed HTTPGetAction to allow user-defined schemes
2015-06-25 16:59:12 -04:00
Mike Danese
f79736d767
make replicas a pointer in v1beta3 api
2015-06-25 11:53:18 -07:00
Tim Hockin
ff91fef26b
Hopefully make NodePort docs clearer
2015-06-25 10:46:15 -07:00
Maxwell Forbes
655179dcfb
Merge pull request #10264 from mikedanese/ca-token
...
add ca cert to token controller and all service accounts
2015-06-25 09:56:35 -07:00
Maxwell Forbes
28946766a3
Merge pull request #9807 from krousey/container_manifest
...
Removing ContainerManifest
2015-06-24 17:55:29 -07:00
Mike Danese
56bde3342a
add ca to token controller and all service accounts
2015-06-24 15:10:20 -07:00
Kris Rousey
d13421e084
Removing ContainerManifest
2015-06-24 11:31:34 -07:00
Salvatore Dario Minonne
4b13faa346
To add validation for service ports when defined as string (fixing issue #9734 )
2015-06-22 17:21:51 +02:00
Anastasis Andronidis
101739a6be
Added Reason in PodStatus
2015-06-21 17:05:34 +02:00
Satnam Singh
b964f3c911
Merge pull request #9739 from bprashanth/sno
...
Fix kubectl stop rc with sequence numbers
2015-06-19 15:30:26 -07:00
Prashanth Balasubramanian
9ed9bd1c4f
Add a generation number to the object meta of all objects, and status of rcs
2015-06-19 14:32:08 -07:00
Satnam Singh
078e85cfdb
Merge pull request #10076 from caesarxuchao/pr/9966/head
...
based on #9966 : fix annoying 'please check...' messages; remove v1beta1&2 ref
2015-06-19 11:56:47 -07:00
Jordan Liggitt
68a8a25494
Rename pod.spec.serviceAccount -> pod.spec.serviceAccountName for v1
2015-06-18 22:38:00 -04:00
Chao Xu
5673f73378
fix the left pre V1 field names in 290c4618c331f4f30a278af520121ff35
2015-06-18 18:44:55 -07:00
markturansky
0a6b7b61ec
Changed PVClaimVolumeSource name to match other volume names
2015-06-17 16:17:49 -04:00
Daniel Smith
9423f80d20
fix test bug & conversion bug
2015-06-12 13:55:10 -07:00
Daniel Smith
47294dd326
Revert "Revert "Test Service creation -> endpoint generation latency""
...
This reverts commit 654857114e
.
2015-06-11 18:34:31 -07:00
Brendan Burns
654857114e
Revert "Test Service creation -> endpoint generation latency"
2015-06-09 21:24:00 -07:00
Daniel Smith
aa9bdcbc4a
add missing endpoints field label conversion function
2015-06-08 16:23:21 -07:00
Quinton Hoole
8b01ecb53a
Merge pull request #9024 from markturansky/recyc_controllers
...
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
nikhiljindal
7cc50448e3
Updating StatusDetails.ID to Name in internal API
2015-06-05 07:17:02 -07:00
markturansky
2829fadfad
PV Recycling API
2015-06-04 15:39:34 -04:00
RichieEscarez
91907f66a7
Replaced instances of "RestartPolicyAlways" "RestartPolicyOnFailure" "RestartPolicyNever" with "Always" "OnFailure" "Never"
2015-06-03 13:35:35 -07:00
Chao Xu
89c8949e78
add v1 to hack/test-integration.sh
2015-06-02 14:55:45 -07:00
Filip Grzadkowski
98115facfd
Revert "Gracefully delete pods from the Kubelet"
2015-06-02 23:40:05 +02:00
Clayton Coleman
72ee028cab
Gracefully delete pods from the Kubelet
...
This commit wires together the graceful delete option for pods
on the Kubelet. When a pod is deleted on the API server, a
grace period is calculated that is based on the
Pod.Spec.TerminationGracePeriodInSeconds, the user's provided grace
period, or a default. The grace period can only shrink once set.
The value provided by the user (or the default) is set onto metadata
as DeletionGracePeriod.
When the Kubelet sees a pod with DeletionTimestamp set, it uses the
value of ObjectMeta.GracePeriodSeconds as the grace period
sent to Docker. When updating status, if the pod has DeletionTimestamp
set and all containers are terminated, the Kubelet will update the
status one last time and then invoke Delete(pod, grace: 0) to
clean up the pod immediately.
2015-06-01 19:23:59 -04:00
Rohit Jnagal
25e63e737a
Merge pull request #9014 from caesarxuchao/image-omitempty
...
make the Container.Image field optional in v1
2015-05-29 16:32:30 -07:00
Rohit Jnagal
fdefd120c1
Merge pull request #8980 from caesarxuchao/Remove_TemplateRef
...
remove ReplicationControllerSpec.TemplateRef
2015-05-29 14:53:25 -07:00
Chao Xu
74f66b3c96
make the Container.Image field optional
2015-05-29 13:12:35 -07:00
Chao Xu
0798ea9ff7
remove ReplicationControllerSpec.TemplateRef from v1beta3/types.go and v1/types.go for now
2015-05-28 17:41:47 -07:00
Chao Xu
2f6e5e2e08
Update ContainerState.Termination to ContainerState.Terminated in pkg/api/types.go and pkg/api/v1/types.go
2015-05-28 17:18:24 -07:00
Tim Hockin
9a49e8155f
Update generated code
2015-05-28 16:28:18 -07:00
Tim Hockin
4318ca5a8b
Rename 'portal IP' to 'cluster IP' most everywhere
...
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin
32bb3ae8f1
Merge pull request #7775 from simon3z/cloud-provider-id
...
api: add the ProviderID attribute to NodeSpec
2015-05-28 15:54:00 -07:00
Chao Xu
9c1153322e
update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go
2015-05-28 14:10:06 -07:00
Federico Simoncelli
2a89428d44
api: add the ProviderID attribute to NodeSpec
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-28 13:01:58 -04:00
markturansky
60b9652500
added generated deep copy funcs
2015-05-27 13:58:29 -04:00
markturansky
d338a7eaea
rebased and added 'omitempty' to new volumes
2015-05-27 13:21:48 -04:00
markturansky
e15fd2b0e7
normalized omitempty across volumes for all versions
2015-05-27 13:13:19 -04:00
markturansky
f7ede60045
normalized json tags across volumes
2015-05-27 13:12:40 -04:00
Tim Hockin
b8a808b1ae
Merge pull request #8592 from RichieEscarez/5057_restartpolicy_default
...
5057 restartpolicy default
2015-05-27 09:40:34 -07:00
Tim Hockin
a15c69798b
Merge pull request #8582 from deads2k/add-pull-secrets-to-service-account
...
add pull secrets to service accounts
2015-05-27 08:40:46 -07:00
Tim Hockin
57df04ed72
Merge pull request #8149 from pmorie/container-env-resolution
...
Expand variables in containers' env, cmd, args
2015-05-27 08:37:02 -07:00
Tim Hockin
d0249aac75
Merge pull request #8133 from markturansky/iscsi_pv2
...
added ISCSI volume plugin to PersistentVolumeSource
2015-05-27 08:36:37 -07:00
Paul Morie
8b338860aa
Make kubelet expand var refs in cmd, args, env
2015-05-27 00:13:57 -04:00
Wojciech Tyczynski
e7dbac53cb
Generate DeepCopy methods
2015-05-26 21:17:11 +02:00
Marek Grabowski
f5a3f7d17f
Merge pull request #8721 from smarterclayton/incorrect_description
...
Description of ImagePullPolicy wrong in v1(beta3)
2015-05-25 10:50:44 +02:00
Clayton Coleman
3db9f0528a
Description of ImagePullPolicy wrong in v1(beta3)
2015-05-22 19:35:26 -04:00
Justin Santa Barbara
9255770068
Fix a few occurences of old language (e.g. visibility -> ServiceType)
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
7346cc8042
Add ServiceType = NodePort; wire everything up
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
e49ad95462
Mark PublicIPs as deprecated & rename to DeprecatedPublicIPs in the latest API
...
We need to keep them in the API so that we can round-trip between versions.
2015-05-22 19:14:27 -04:00
Justin Santa Barbara
2197c8da5a
Add NodePort to ServicePort
...
We prevent it from being set by validation
2015-05-22 19:14:27 -04:00
Justin Santa Barbara
973c2e4819
Add Type to ServiceSpec: ClusterIP or LoadBalancer
2015-05-22 19:14:21 -04:00
Justin Santa Barbara
3884d5fc59
Add LoadBalancer status to ServiceStatus
...
This will replace publicIPs
2015-05-22 18:27:05 -04:00
markturansky
77c39edcc9
rebased and regenerated conversions
2015-05-22 15:18:48 -04:00
markturansky
5b23fc39b2
added ISCSI volume plugin to PersistentVolumeSource
2015-05-22 15:18:20 -04:00
Dawn Chen
434a9ff57b
Merge pull request #8552 from thockin/rc-default-1
...
Change v1 API to default RC replicas to 1
2015-05-22 11:10:01 -07:00
deads2k
590bd048a5
add pull secrets to service accounts
2015-05-22 14:05:19 -04:00
RichieEscarez
0076c181c7
Edited to add the default restart policy (always) to clarify value if RestartPolicy is not set.
...
Generated new .json output for Swagger UI
Added the api/v1/v1.json file to the hack/update-swagger-spec.sh script so it gets updated and built.
Fixes #5057
Reverting last change: Deleted line for building v1 api from the build file update-swagger-ui.sh and deleted the output file from build (v1.json).
2015-05-22 10:03:12 -07:00
Tim Hockin
fd07de6ed6
Change v1 API to default RC replicas to 1
2015-05-21 12:40:59 -07:00
Huamin Chen
4a800fd10e
add rados block device(rbd) volume plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-05-21 14:51:31 -04:00
Wojciech Tyczynski
de0a1d179f
Fix ordering of conversion methods.
2015-05-21 19:41:48 +02:00
nikhiljindal
e92a42b57f
Renaming StatusDetails.ID to Name
2015-05-20 11:35:38 -07:00
Yu-Ju Hong
8f62dd2451
Merge pull request #8482 from smarterclayton/serialization_wrong
...
Serialization of 'IP' in endpoints should be 'ip'
2015-05-19 12:02:19 -07:00
Tim Hockin
97abc19810
Merge pull request #8299 from thockin/import-names
...
rename imported pkgs for readability
2015-05-19 12:01:57 -07:00
Tim Hockin
cb49843ccb
Merge pull request #8140 from vishh/namespace
...
Update Namespace names to follow DNS label format
2015-05-19 11:25:32 -07:00
Tim Hockin
70c94fad6d
Don't rename api imports in conversions
2015-05-19 11:21:21 -07:00
Tim Hockin
d689ba9b01
Rename versioned pkg imports in defaults tests
2015-05-19 11:18:55 -07:00
Vishnu Kannan
d10af89493
Updating namespaces to be DNS labels instead of DNS names.
2015-05-19 11:09:09 -07:00
Daniel Smith
181124bc9b
Merge pull request #7974 from deads2k/attach-pull-secrets-to-pods
...
Attach pull secrets to pods
2015-05-19 10:26:39 -07:00
deads2k
5458f05679
create LocalObjectReference
2015-05-19 08:39:46 -04:00
Clayton Coleman
2e8b7f9797
Serialization of 'IP' should be 'ip'
...
CamelCase rules are "initialsUpperCase"
2015-05-18 22:56:12 -04:00
Brian Grant
03535478a2
Merge pull request #8440 from thockin/api-type-names
...
Rename a few API types (non-breaking change)
2015-05-18 18:48:16 -07:00
Tim Hockin
65833e42c4
rename CapabilityType Capability
2015-05-18 17:21:30 -07:00
Tim Hockin
fd22f48f5b
rename StorageType StorageMedium
2015-05-18 17:21:30 -07:00
Tim Hockin
f66ca25d9f
Rename AccessMode to PersistentVolumeAccessMode
2015-05-18 17:21:30 -07:00
Tim Hockin
a548d542db
Rename AffinityType to ServiceAffinity
2015-05-18 17:21:30 -07:00
Wojciech Tyczynski
9a93206774
Script for automatically generate conversions.
2015-05-19 02:17:58 +02:00
deads2k
0c14e0cbdb
add pull secret references to pods
2015-05-18 16:18:16 -04:00
Wojciech Tyczynski
d7834f5033
Merge pull request #8414 from pweil-/dedupe-sc
...
remove deprecated fields from v1 types
2015-05-18 12:57:38 -07:00
Daniel Smith
c27999da07
Merge pull request #7966 from deads2k/add-dockercfg-secrets
...
add dockercfg secret types
2015-05-18 11:24:02 -07:00
Paul Weil
ad4e4c90ce
remove deprecated fields from v1 types
2015-05-18 14:07:36 -04:00
Victor Marmol
bf912e0d82
Merge pull request #8338 from nikhiljindal/omitEmpty
...
Fixing the omitempty tag
2015-05-18 08:39:47 -07:00
deads2k
be0f2d2930
add dockercfg secret types
2015-05-18 08:25:27 -04:00
deads2k
d404a17f0a
allow leading dots in secret keys
2015-05-18 08:17:58 -04:00
nikhiljindal
0ce0150bde
Fixing the omitempty tag
2015-05-15 19:29:14 -07:00
nikhiljindal
fa9f864782
Adding a script to update etcd objects
2015-05-15 16:20:35 -07:00
derekwaynecarr
8216332611
Kubelet kills a pod that exceeds ActiveDeadlineSeconds
2015-05-15 16:33:37 -04:00
Victor Marmol
07b8b79696
Merge pull request #8247 from kazegusuri/fix-struct-field-tag
...
Fix struct field tag
2015-05-14 10:36:34 -07:00
Masahiro Sano
bccafcb97b
fix struct field tag
2015-05-14 22:29:11 +09:00
Wojciech Tyczynski
b52a4e60fc
Fix convertion generator for manually written ones
2015-05-14 13:51:34 +02:00
markturansky
6b29c569ff
regen again
2015-05-13 14:46:47 -04:00
markturansky
fd3f7b2a98
rebased and regen conversions
2015-05-13 14:09:48 -04:00
markturansky
0191574f7e
Bi-directional bind between pv.Spec.ClaimRef and pvc.Spec.VolumeName
2015-05-13 14:05:21 -04:00
Wojciech Tyczynski
c2f2faeb07
Generate conversion methods for v1 api.
2015-05-13 14:20:59 +02:00
Brian Grant
572b819944
Merge pull request #8052 from dkorn/PodConditions
...
Inconsistency in api terminology of pod conditions
2015-05-12 11:03:59 -07:00
Nikhil Jindal
d75bd8bf2a
Merge pull request #7101 from liggitt/service_account
...
ServiceAccounts
2015-05-12 10:23:41 -07:00
dkorn
25ada0e118
Inconsistency in api terminology of pod conditions
...
While nodes returns the "conditions" key in api requests, pods returns
"Condition". Also, from pods states docs it seems that the right
terminology should be "conditions".
Fixes #8038
2015-05-12 10:52:52 +03:00
Victor Marmol
43029345f9
Merge pull request #7973 from dchen1107/podstatus
...
Add kubectl log --previous support to view last terminated container log
2015-05-11 17:08:45 -07:00
Jordan Liggitt
53d55f4192
Add ServiceAccount API type, client
2015-05-11 17:18:05 -04:00
Jordan Liggitt
6e1e7dbb24
Add ServiceAccountToken SecretType
2015-05-11 17:18:05 -04:00
Dawn Chen
ffa5947010
Introduce Previous as PodLogOptions
2015-05-11 10:14:22 -07:00
Clayton Coleman
e200d5a317
Make PortalIP alloc HA
...
* Add an allocator which saves state in etcd
* Perform PortalIP allocation check on startup and periodically afterwards
Also expose methods in master for downstream components to handle IP allocation
/ master registration themselves.
2015-05-08 13:34:16 -04:00
markturansky
68ce264a6d
Added NFS to PV structs
2015-05-07 12:38:27 -04:00
Daniel Smith
8a47574644
Merge pull request #7468 from simon3z/serialized-reference
...
replica: serialize created-by reference
2015-05-05 16:42:42 -07:00
Zach Loafman
875e83a741
Revert "Revert "Security context - types, kubelet, admission""
2015-05-05 16:02:13 -07:00
Zach Loafman
f48904fd5e
Revert "Security context - types, kubelet, admission"
2015-05-05 15:20:39 -07:00
Paul Morie
1625e231dd
Merge pull request #7343 from pweil-/security-context-types
...
Security context - types, kubelet, admission
2015-05-05 16:26:09 -04:00