Kubernetes Submit Queue
d404e07a72
Merge pull request #38183 from tianshapjq/remove-create-external-load-balancer
...
Automatic merge from submit-queue (batch tested with PRs 40345, 38183, 40236, 40861, 40900)
remove the create-external-load-balancer flag in cmd/expose.go
**What this PR does / why we need it**:
In cmd/expose.go there is a todo "remove create-external-load-balancer in code on or after Aug 25, 2016.", and now it's been a long time past. So I remove this flag and modify the test cases.
Please check for this, thanks!
**Release note**:
```
remove the deprecated flag "create-external-load-balancer" and use --type="LoadBalancer" instead.
```
2017-02-07 11:33:41 -08:00
deads2k
c9a008dff3
move util/intstr to apimachinery
2017-01-30 12:46:59 -05:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
tianshapjq
55521ee8be
remove the create-external-load-balancer flag in cmd/expose.go
2016-12-06 16:48:32 +08:00
Michael Fraenkel
a3537a02fe
Allow no ports when exposing headless service
2016-09-15 14:56:49 -04:00
k8s-merge-robot
44ea855713
Merge pull request #28239 from ApsOps/kubectl-expose-headless-svc
...
Automatic merge from submit-queue
Add a flag for `kubectl expose`to set ClusterIP and allow headless services
- Use `--cluster-ip=None` to create a headless service
- Fixes #10294
2016-08-02 01:18:19 -07:00
k8s-merge-robot
b543e61215
Merge pull request #26554 from kargakis/fix-expose-container-port
...
Automatic merge from submit-queue
kubectl: make --container-port actually work for expose
Even if it was recently deprecated, it should work as expected.
@kubernetes/kubectl
2016-07-12 13:12:53 -07:00
Aman
e9e06d6826
Add a `kubectl expose` flag to give ClusterIP
...
- Use `--cluster-ip=None` to create a headless service
- Fixes #10294
2016-07-05 00:59:53 +05:30
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Michail Kargakis
476208dec6
kubectl: make --container-port actually work for expose
...
Even if it was recently deprecated, it should work as expected.
2016-05-31 10:55:49 +02:00
AdoHe
ad97cddb3e
fix expose multi protocols issue
2016-05-12 00:07:07 -04:00
Clayton Coleman
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04: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
kargakis
7d0e691520
expose: Enable exposing multiport objects
...
The generated service will inherit all the ports from the exposed object.
2015-10-19 11:25:14 +02: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
Abhishek Shah
44ce4aa423
Create a LB for a K8S with the LB-IP provided by user.
2015-09-10 21:05:06 -07:00
Abhishek Shah
b6b8e99393
External IPs support.
2015-08-20 16:10:01 -07:00
Brendan Burns
586931fe16
Add optional arguments to kubectl run ...
2015-08-13 09:41:51 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Brendan Burns
c9bc1456ff
Add session affinity flags to kubectl expose
2015-07-31 10:34:52 -07:00
nikhiljindal
496f30a92f
Introduce a new service generator that leaves service port unnamed
2015-07-16 20:40:40 -07:00
kargakis
6c85040cef
expose: Use separate parameters for default and custom name
2015-05-28 11:03:16 +02: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
973c2e4819
Add Type to ServiceSpec: ClusterIP or LoadBalancer
2015-05-22 19:14:21 -04:00
kargakis
ac652d16e6
expose: Re-use labels in case none was specified
2015-05-15 11:54:41 +02:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
kargakis
c0ab76f539
Tighten label parsing
2015-04-10 11:36:49 +02:00
Tim Hockin
186818d787
WIP: Implement multi-port Services
2015-03-30 19:28:11 -07:00
Tim Hockin
4375376e9c
Rename Service.ContainerPort to TargetPort in v1b3
...
Fix all callers and examples. Part of multi-port service cleanup.
2015-03-20 13:50:06 -07:00
fabioy
401451c510
Add "--labels" option to the "expose" kubectl command.
2015-03-17 09:47:57 -07:00
Brendan Burns
fa6ddf13e5
Fix service generation and add tests I should have included in the first place.
2015-02-04 12:14:53 -08:00
Brendan Burns
250b9ccd74
Address comments. Rebase.
2015-01-27 10:23:28 -08:00
Brendan Burns
09166f5252
Add a service generator and a command to easily expose services.
2015-01-27 10:06:08 -08:00