-
Notifications
You must be signed in to change notification settings - Fork 128
support configurable stream-port to virtlet server instead of default 10010 #734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nits and rest LGTM
Reviewed 3 of 5 files at r1, 2 of 2 files at r2.
Reviewable status: 0 of 2 LGTMs obtained
images/image_skel/start.sh, line 24 at r2 (raw file):
verbose="--v ${VIRTLET_LOGLEVEL}" fi /usr/local/bin/virtlet ${verbose} $*
Missing EOL
pkg/api/virtlet.k8s/v1/virtletconfig.go, line 67 at r2 (raw file):
// LogLevel specifies the log level to use LogLevel *int `json:"logLevel,omitempty"` // Configrable stream port in command line
Docstring should start with name of the field.
pkg/config/config.go, line 104 at r2 (raw file):
// by "+" here (it's only for doc) fs.addIntField("logLevel", "+v", "", "Log level to use", logLevelEnv, 1, 0, math.MaxInt32, &c.LogLevel) //add configrable stream port flag
Please add space after //
as in rest comments.
When you are changing anything in |
OK, I get it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to fix the tests which are influenced :)
pkg/stream/server.go
Outdated
@@ -27,6 +27,7 @@ import ( | |||
"github.com/golang/glog" | |||
knet "k8s.io/apimachinery/pkg/util/net" | |||
"k8s.io/kubernetes/pkg/kubelet/server/streaming" | |||
"strconv" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: move "strconv" above "syscall"
@jellonek ,what happened for my commiting, why did it have failures about deploying kubernetes-dashboard. can you give me a hand? very thanks. |
glide.lock
Outdated
@@ -103,7 +103,7 @@ imports: | |||
- protoc-gen-gogo/descriptor | |||
- sortkeys | |||
- name: github.com/golang/glog | |||
version: 23def4e6c14b4da8ac2ed8007337bc5eb5007998 | |||
version: 44145f04b68cf362d9c4df2182967c2275eaefed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the purpose of this change?
glide.lock
Outdated
@@ -208,7 +208,7 @@ imports: | |||
- name: github.com/vishvananda/netns | |||
version: 8ba1072b58e0c2a240eb5f6120165c7776c3e7b8 | |||
- name: go.universe.tf/netboot | |||
version: cc33920b4f3296801a64d731d269978116f40d92 | |||
version: 870d490bda51cd67f4d53593ce4219d47db00a0d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above.
Issue with dashboard looks like something connected with port forwarding. Will try to dig it out later today. |
@jellonek I restarted jobs. |
@volume-ji you need to rebase this PR on top of master, we have already fixed this issue with not accessible port. |
OK, I get it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok, but we are still waiting for rebase (please ignore failure of tests depending on ceph/demo - it will be fixed later).
…ad of default 10010 <type>view: modify corresponding doc file. <type>UTest: modify UTest output file. <type>view: modify the location of pakcage, system package should be in front of other packages. <type>view: modify location of package that "st" shoud be above "sy" <type>view: rollback glide.lock file which glide tool lead to.
I have already featched and rebased code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 5 files at r3, 27 of 27 files at r4.
Reviewable status: 1 of 2 approvals obtained (waiting on @volume-ji and @xiangpengzhao)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 5 files at r3, 27 of 27 files at r4.
Reviewable status: 1 of 2 approvals obtained (waiting on @volume-ji and @xiangpengzhao)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status:
complete! 2 of 2 approvals obtained (waiting on @volume-ji and @xiangpengzhao)
What this PR does / why we need it:
"image: mirantis/virtlet
command:
to set ourself streamPort.
Which issue(s) this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #NONE
Special notes for your reviewer:
NONE
Release note:
NONE
This change is