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
c4b70719
Commit
c4b70719
authored
Jul 22, 2015
by
Tim Hockin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated 'se' resource alias
parent
dfe1eb9b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
README.md
examples/rethinkdb/README.md
+1
-1
kubectl.go
pkg/kubectl/kubectl.go
+0
-1
util.go
test/e2e/util.go
+1
-1
No files found.
examples/rethinkdb/README.md
View file @
c4b70719
...
@@ -116,7 +116,7 @@ kubectl create -f examples/rethinkdb/admin-service.yaml
...
@@ -116,7 +116,7 @@ kubectl create -f examples/rethinkdb/admin-service.yaml
find the service
find the service
```
sh
```
sh
$kubectl
get se
$kubectl
get se
rvices
NAME LABELS SELECTOR IP
(
S
)
PORT
(
S
)
NAME LABELS SELECTOR IP
(
S
)
PORT
(
S
)
[
...]
[
...]
rethinkdb-admin
db
=
influxdb
db
=
rethinkdb,role
=
admin 10.0.131.19 8080/TCP
rethinkdb-admin
db
=
influxdb
db
=
rethinkdb,role
=
admin 10.0.131.19 8080/TCP
...
...
pkg/kubectl/kubectl.go
View file @
c4b70719
...
@@ -114,7 +114,6 @@ func expandResourceShortcut(resource string) string {
...
@@ -114,7 +114,6 @@ func expandResourceShortcut(resource string) string {
"pvc"
:
"persistentvolumeclaims"
,
"pvc"
:
"persistentvolumeclaims"
,
"quota"
:
"resourcequotas"
,
"quota"
:
"resourcequotas"
,
"rc"
:
"replicationcontrollers"
,
"rc"
:
"replicationcontrollers"
,
"se"
:
"services"
,
// DEPRECATED: will be removed before 1.0
"svc"
:
"services"
,
"svc"
:
"services"
,
}
}
if
expanded
,
ok
:=
shortForms
[
resource
];
ok
{
if
expanded
,
ok
:=
shortForms
[
resource
];
ok
{
...
...
test/e2e/util.go
View file @
c4b70719
...
@@ -748,7 +748,7 @@ func cleanup(filePath string, ns string, selectors ...string) {
...
@@ -748,7 +748,7 @@ func cleanup(filePath string, ns string, selectors ...string) {
runKubectl
(
"stop"
,
"-f"
,
filePath
,
nsArg
)
runKubectl
(
"stop"
,
"-f"
,
filePath
,
nsArg
)
for
_
,
selector
:=
range
selectors
{
for
_
,
selector
:=
range
selectors
{
resources
:=
runKubectl
(
"get"
,
"pods,rc,s
e
"
,
"-l"
,
selector
,
"--no-headers"
,
nsArg
)
resources
:=
runKubectl
(
"get"
,
"pods,rc,s
vc
"
,
"-l"
,
selector
,
"--no-headers"
,
nsArg
)
if
resources
!=
""
{
if
resources
!=
""
{
Failf
(
"Resources left running after stop:
\n
%s"
,
resources
)
Failf
(
"Resources left running after stop:
\n
%s"
,
resources
)
}
}
...
...
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