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
b405629e
Commit
b405629e
authored
Sep 26, 2016
by
Yifan Gu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CRI: Add more docs abount pod sandbox config in CreateContainerRequest.
Makes it clear that the config will not change during the pod lifecycle. The field is only for convenience.
parent
3efed287
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
api.pb.go
pkg/kubelet/api/v1alpha1/runtime/api.pb.go
+4
-1
api.proto
pkg/kubelet/api/v1alpha1/runtime/api.proto
+4
-1
No files found.
pkg/kubelet/api/v1alpha1/runtime/api.pb.go
View file @
b405629e
...
...
@@ -1523,7 +1523,10 @@ type CreateContainerRequest struct {
PodSandboxId
*
string
`protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId" json:"pod_sandbox_id,omitempty"`
// The config of the container
Config
*
ContainerConfig
`protobuf:"bytes,2,opt,name=config" json:"config,omitempty"`
// The config of the PodSandbox
// The config of the PodSandbox. This is the same config that was passed
// to RunPodSandboxRequest to create the PodSandbox. It is passed again
// here just for easy reference. The PodSandboxConfig is immutable and
// remains the same throughout the lifetime of the pod.
SandboxConfig
*
PodSandboxConfig
`protobuf:"bytes,3,opt,name=sandbox_config,json=sandboxConfig" json:"sandbox_config,omitempty"`
XXX_unrecognized
[]
byte
`json:"-"`
}
...
...
pkg/kubelet/api/v1alpha1/runtime/api.proto
View file @
b405629e
...
...
@@ -456,7 +456,10 @@ message CreateContainerRequest {
optional
string
pod_sandbox_id
=
1
;
// The config of the container
optional
ContainerConfig
config
=
2
;
// The config of the PodSandbox
// The config of the PodSandbox. This is the same config that was passed
// to RunPodSandboxRequest to create the PodSandbox. It is passed again
// here just for easy reference. The PodSandboxConfig is immutable and
// remains the same throughout the lifetime of the pod.
optional
PodSandboxConfig
sandbox_config
=
3
;
}
...
...
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