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
9b646503
Commit
9b646503
authored
Feb 01, 2018
by
halfcrazy
Committed by
zhuyan
Feb 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo in cluster
parent
230726ff
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
11 additions
and
11 deletions
+11
-11
elasticsearch_logging_discovery.go
...elasticsearch/es-image/elasticsearch_logging_discovery.go
+1
-1
common.sh
cluster/common.sh
+1
-1
unprivileged-addon.yaml
...er/gce/addons/podsecuritypolicies/unprivileged-addon.yaml
+1
-1
config-default.sh
cluster/gce/config-default.sh
+1
-1
config-test.sh
cluster/gce/config-test.sh
+1
-1
glbc.manifest
cluster/gce/manifests/glbc.manifest
+1
-1
upgrade.sh
cluster/gce/upgrade.sh
+1
-1
README.md
cluster/images/etcd-version-monitor/README.md
+1
-1
create-rbd-pv
cluster/juju/layers/kubernetes-master/actions/create-rbd-pv
+1
-1
kubernetes_worker.py
...ju/layers/kubernetes-worker/reactive/kubernetes_worker.py
+1
-1
restore-from-backup.sh
cluster/restore-from-backup.sh
+1
-1
No files found.
cluster/addons/fluentd-elasticsearch/es-image/elasticsearch_logging_discovery.go
View file @
9b646503
...
@@ -86,7 +86,7 @@ func main() {
...
@@ -86,7 +86,7 @@ func main() {
serviceName
=
"elasticsearch-logging"
serviceName
=
"elasticsearch-logging"
}
}
// Look for endpoints associated with the Elasticsearch logg
g
ing service.
// Look for endpoints associated with the Elasticsearch logging service.
// First wait for the service to become available.
// First wait for the service to become available.
for
t
:=
time
.
Now
();
time
.
Since
(
t
)
<
5
*
time
.
Minute
;
time
.
Sleep
(
10
*
time
.
Second
)
{
for
t
:=
time
.
Now
();
time
.
Since
(
t
)
<
5
*
time
.
Minute
;
time
.
Sleep
(
10
*
time
.
Second
)
{
elasticsearch
,
err
=
client
.
Core
()
.
Services
(
namespace
)
.
Get
(
serviceName
,
metav1
.
GetOptions
{})
elasticsearch
,
err
=
client
.
Core
()
.
Services
(
namespace
)
.
Get
(
serviceName
,
metav1
.
GetOptions
{})
...
...
cluster/common.sh
View file @
9b646503
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
# Common utilites for kube-up/kube-down
# Common utilit
i
es for kube-up/kube-down
set
-o
errexit
set
-o
errexit
set
-o
nounset
set
-o
nounset
...
...
cluster/gce/addons/podsecuritypolicies/unprivileged-addon.yaml
View file @
9b646503
...
@@ -3,7 +3,7 @@ kind: PodSecurityPolicy
...
@@ -3,7 +3,7 @@ kind: PodSecurityPolicy
metadata
:
metadata
:
name
:
gce.unprivileged-addon
name
:
gce.unprivileged-addon
annotations
:
annotations
:
kubernetes.io/description
:
'
This
policy
grants
the
minimum
am
m
ount
of
kubernetes.io/description
:
'
This
policy
grants
the
minimum
amount
of
privilege
necessary
to
run
non-privileged
kube-system
pods.
This
policy
is
privilege
necessary
to
run
non-privileged
kube-system
pods.
This
policy
is
not
intended
for
use
outside
of
kube-system,
and
may
include
further
not
intended
for
use
outside
of
kube-system,
and
may
include
further
restrictions
in
the
future.'
restrictions
in
the
future.'
...
...
cluster/gce/config-default.sh
View file @
9b646503
...
@@ -39,7 +39,7 @@ NODE_DISK_SIZE=${NODE_DISK_SIZE:-100GB}
...
@@ -39,7 +39,7 @@ NODE_DISK_SIZE=${NODE_DISK_SIZE:-100GB}
NODE_LOCAL_SSDS
=
${
NODE_LOCAL_SSDS
:-
0
}
NODE_LOCAL_SSDS
=
${
NODE_LOCAL_SSDS
:-
0
}
# An extension to local SSDs allowing users to specify block/fs and SCSI/NVMe devices
# An extension to local SSDs allowing users to specify block/fs and SCSI/NVMe devices
# Format of this variable will be "#,scsi/nvme,block/fs" you can specify multiple
# Format of this variable will be "#,scsi/nvme,block/fs" you can specify multiple
# configurations by sep
e
rating them by a semi-colon ex. "2,scsi,fs;1,nvme,block"
# configurations by sep
a
rating them by a semi-colon ex. "2,scsi,fs;1,nvme,block"
# is a request for 2 SCSI formatted and mounted SSDs and 1 NVMe block device SSD.
# is a request for 2 SCSI formatted and mounted SSDs and 1 NVMe block device SSD.
NODE_LOCAL_SSDS_EXT
=
${
NODE_LOCAL_SSDS_EXT
:-}
NODE_LOCAL_SSDS_EXT
=
${
NODE_LOCAL_SSDS_EXT
:-}
# Accelerators to be attached to each node. Format "type=<accelerator-type>,count=<accelerator-count>"
# Accelerators to be attached to each node. Format "type=<accelerator-type>,count=<accelerator-count>"
...
...
cluster/gce/config-test.sh
View file @
9b646503
...
@@ -39,7 +39,7 @@ NODE_DISK_SIZE=${NODE_DISK_SIZE:-100GB}
...
@@ -39,7 +39,7 @@ NODE_DISK_SIZE=${NODE_DISK_SIZE:-100GB}
NODE_LOCAL_SSDS
=
${
NODE_LOCAL_SSDS
:-
0
}
NODE_LOCAL_SSDS
=
${
NODE_LOCAL_SSDS
:-
0
}
# An extension to local SSDs allowing users to specify block/fs and SCSI/NVMe devices
# An extension to local SSDs allowing users to specify block/fs and SCSI/NVMe devices
# Format of this variable will be "#,scsi/nvme,block/fs" you can specify multiple
# Format of this variable will be "#,scsi/nvme,block/fs" you can specify multiple
# configurations by sep
e
rating them by a semi-colon ex. "2,scsi,fs;1,nvme,block"
# configurations by sep
a
rating them by a semi-colon ex. "2,scsi,fs;1,nvme,block"
# is a request for 2 SCSI formatted and mounted SSDs and 1 NVMe block device SSD.
# is a request for 2 SCSI formatted and mounted SSDs and 1 NVMe block device SSD.
NODE_LOCAL_SSDS_EXT
=
${
NODE_LOCAL_SSDS_EXT
:-}
NODE_LOCAL_SSDS_EXT
=
${
NODE_LOCAL_SSDS_EXT
:-}
NODE_ACCELERATORS
=
${
NODE_ACCELERATORS
:-
""
}
NODE_ACCELERATORS
=
${
NODE_ACCELERATORS
:-
""
}
...
...
cluster/gce/manifests/glbc.manifest
View file @
9b646503
...
@@ -34,7 +34,7 @@ spec:
...
@@ -34,7 +34,7 @@ spec:
name: logfile
name: logfile
readOnly: false
readOnly: false
resources:
resources:
# Request is set to accomodate this pod alongside the other
# Request is set to accom
m
odate this pod alongside the other
# master components on a single core master.
# master components on a single core master.
# TODO: Make resource requirements depend on the size of the cluster
# TODO: Make resource requirements depend on the size of the cluster
requests:
requests:
...
...
cluster/gce/upgrade.sh
View file @
9b646503
...
@@ -40,7 +40,7 @@ function usage() {
...
@@ -40,7 +40,7 @@ function usage() {
echo
" -N: Upgrade nodes only"
echo
" -N: Upgrade nodes only"
echo
" -P: Node upgrade prerequisites only (create a new instance template)"
echo
" -P: Node upgrade prerequisites only (create a new instance template)"
echo
" -c: Upgrade NODE_UPGRADE_PARALLELISM nodes in parallel (default=1) within a single instance group. The MIGs themselves are dealt serially."
echo
" -c: Upgrade NODE_UPGRADE_PARALLELISM nodes in parallel (default=1) within a single instance group. The MIGs themselves are dealt serially."
echo
" -o: Use os distro s
ep
cified in KUBE_NODE_OS_DISTRIBUTION for new nodes. Options include 'debian' or 'gci'"
echo
" -o: Use os distro s
pe
cified in KUBE_NODE_OS_DISTRIBUTION for new nodes. Options include 'debian' or 'gci'"
echo
" -l: Use local(dev) binaries. This is only supported for master upgrades."
echo
" -l: Use local(dev) binaries. This is only supported for master upgrades."
echo
""
echo
""
echo
' Version number or publication is either a proper version number'
echo
' Version number or publication is either a proper version number'
...
...
cluster/images/etcd-version-monitor/README.md
View file @
9b646503
...
@@ -9,7 +9,7 @@ For etcd 3.1+, the
...
@@ -9,7 +9,7 @@ For etcd 3.1+, the
[
go-grpc-prometheus
](
https://github.com/grpc-ecosystem/go-grpc-prometheus
)
[
go-grpc-prometheus
](
https://github.com/grpc-ecosystem/go-grpc-prometheus
)
metrics format, which backward incompatibly replaces the 3.0 legacy grpc metric
metrics format, which backward incompatibly replaces the 3.0 legacy grpc metric
format, is exposed in both the 3.1 format and in the 3.0. This preserves
format, is exposed in both the 3.1 format and in the 3.0. This preserves
backward compatiblity.
backward compatib
i
lity.
For etcd 3.1+, the
`--metrics=extensive`
must be set on etcd for grpc request
For etcd 3.1+, the
`--metrics=extensive`
must be set on etcd for grpc request
latency metrics (
`etcd_grpc_unary_requests_duration_seconds`
) to be exposed.
latency metrics (
`etcd_grpc_unary_requests_duration_seconds`
) to be exposed.
...
...
cluster/juju/layers/kubernetes-master/actions/create-rbd-pv
View file @
9b646503
...
@@ -60,7 +60,7 @@ def main():
...
@@ -60,7 +60,7 @@ def main():
if
not
validate_space
(
context
[
'RBD_SIZE'
]):
if
not
validate_space
(
context
[
'RBD_SIZE'
]):
return
return
# Ensure our paramters match
# Ensure our param
e
ters match
param_validation
=
validate_parameters
(
context
[
'RBD_NAME'
],
param_validation
=
validate_parameters
(
context
[
'RBD_NAME'
],
context
[
'RBD_FS'
],
context
[
'RBD_FS'
],
context
[
'PV_MODE'
])
context
[
'PV_MODE'
])
...
...
cluster/juju/layers/kubernetes-worker/reactive/kubernetes_worker.py
View file @
9b646503
...
@@ -739,7 +739,7 @@ def kubectl(*args):
...
@@ -739,7 +739,7 @@ def kubectl(*args):
def
kubectl_success
(
*
args
):
def
kubectl_success
(
*
args
):
''' Runs kubectl with the given args. Returns True if succesful, False if
''' Runs kubectl with the given args. Returns True if succes
s
ful, False if
not. '''
not. '''
try
:
try
:
kubectl
(
*
args
)
kubectl
(
*
args
)
...
...
cluster/restore-from-backup.sh
View file @
9b646503
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
# b) in case of etcd3
# b) in case of etcd3
# $ etcdctl --endpoints=<address> snapshot save
# $ etcdctl --endpoints=<address> snapshot save
# produced .db file
# produced .db file
# - version.txt file is in the current directy (if it isn't it will be
# - version.txt file is in the current direct
or
y (if it isn't it will be
# defaulted to "2.2.1/etcd2"). Based on this file, the script will
# defaulted to "2.2.1/etcd2"). Based on this file, the script will
# decide to which version we are restoring (procedures are different
# decide to which version we are restoring (procedures are different
# for etcd2 and etcd3).
# for etcd2 and etcd3).
...
...
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