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
6b5f1492
Commit
6b5f1492
authored
Mar 27, 2018
by
Yu-Ju Hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove references to the Debian-based Container-VM image
The image reached end-of-life in October 2017. Remove the associated references from the cluster setup script.
parent
f29c1301
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
9 deletions
+1
-9
config-default.sh
cluster/gce/config-default.sh
+0
-1
config-test.sh
cluster/gce/config-test.sh
+0
-1
restore-from-backup.sh
cluster/restore-from-backup.sh
+1
-7
No files found.
cluster/gce/config-default.sh
View file @
6b5f1492
...
...
@@ -73,7 +73,6 @@ fi
# you are updating the os image versions, update this variable.
# Also please update corresponding image for node e2e at:
# https://github.com/kubernetes/kubernetes/blob/master/test/e2e_node/jenkins/image-config.yaml
CVM_VERSION
=
${
CVM_VERSION
:-
container
-vm-v20170627
}
GCI_VERSION
=
${
KUBE_GCI_VERSION
:-
cos
-stable-65-10323-64-0
}
MASTER_IMAGE
=
${
KUBE_GCE_MASTER_IMAGE
:-}
MASTER_IMAGE_PROJECT
=
${
KUBE_GCE_MASTER_PROJECT
:-
cos
-cloud
}
...
...
cluster/gce/config-test.sh
View file @
6b5f1492
...
...
@@ -75,7 +75,6 @@ ALLOWED_NOTREADY_NODES="${ALLOWED_NOTREADY_NODES:-$((NUM_NODES / 100))}"
# you are updating the os image versions, update this variable.
# Also please update corresponding image for node e2e at:
# https://github.com/kubernetes/kubernetes/blob/master/test/e2e_node/jenkins/image-config.yaml
CVM_VERSION
=
${
CVM_VERSION
:-
container
-vm-v20170627
}
GCI_VERSION
=
${
KUBE_GCI_VERSION
:-
cos
-stable-65-10323-64-0
}
MASTER_IMAGE
=
${
KUBE_GCE_MASTER_IMAGE
:-}
MASTER_IMAGE_PROJECT
=
${
KUBE_GCE_MASTER_PROJECT
:-
cos
-cloud
}
...
...
cluster/restore-from-backup.sh
View file @
6b5f1492
...
...
@@ -203,13 +203,7 @@ fi
# Also copy version.txt file.
cp
"
${
VERSION_FILE
}
"
"
${
BACKUP_DIR
}
"
# Find out if we are running GCI vs CVM.
export
CVM
=
$(
curl
"http://metadata/computeMetadata/v1/instance/attributes/"
-H
"Metadata-Flavor: Google"
|&
grep
-q
gci
;
echo
$?
)
if
[[
"
$CVM
"
==
"1"
]]
;
then
export
MNT_DISK
=
"/mnt/master-pd"
else
export
MNT_DISK
=
"/mnt/disks/master-pd"
fi
export
MNT_DISK
=
"/mnt/disks/master-pd"
# Save the corrupted data (clean directory if it is already non-empty).
rm
-rf
"
${
MNT_DISK
}
/var/etcd-corrupted"
...
...
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