提交 25c7629c 编写于 作者: I ijl 提交者: dlorenc

crio-bin v1.8.4

上级 e677c963
......@@ -25,7 +25,7 @@ spec:
effect: NoSchedule
containers:
- name: coredns
image: coredns/coredns:0.9.10
image: registry.hub.docker.com/coredns/coredns:0.9.10
imagePullPolicy: IfNotPresent
resources:
limits:
......
......@@ -58,7 +58,7 @@ spec:
- name: MINIMUM_MASTER_NODES
value: "1"
initContainers:
- image: alpine:3.6
- image: registry.hub.docker.com/library/alpine:3.6
command: ["/sbin/sysctl", "-w", "vm.max_map_count=262144"]
name: elasticsearch-logging-init
securityContext:
......
......@@ -21,7 +21,7 @@ spec:
addonmanager.kubernetes.io/mode: Reconcile
spec:
containers:
- image: upmcenterprises/registry-creds:1.8
- image: registry.hub.docker.com/upmcenterprises/registry-creds:1.8
name: registry-creds
imagePullPolicy: Always
env:
......
......@@ -17,7 +17,7 @@ spec:
addonmanager.kubernetes.io/mode: Reconcile
spec:
containers:
- image: registry:2.6.1
- image: registry.hub.docker.com/library/registry:2.6.1
imagePullPolicy: IfNotPresent
name: registry
ports:
......
sha256 00575ca5a093cb1fcd27234f3fc0a729620b7dff7b39057bfddddd48753ff3d7 v1.0.3.tar.gz
sha256 d310d52706262009af886dbd3e8dcd09a339cdc3b57dc22a9121e6d6a87d2921 v1.8.4.tar.gz
......@@ -4,12 +4,13 @@
#
################################################################################
CRIO_BIN_VERSION = v1.0.3
CRIO_BIN_VERSION = v1.8.4
CRIO_BIN_SITE = https://github.com/kubernetes-incubator/cri-o/archive
CRIO_BIN_SOURCE = $(CRIO_BIN_VERSION).tar.gz
CRIO_BIN_DEPENDENCIES = libgpgme
CRIO_BIN_GOPATH = $(@D)/_output
CRIO_BIN_ENV = \
CGO_ENABLED=1 \
GOPATH="$(CRIO_BIN_GOPATH)" \
PATH=$(CRIO_BIN_GOPATH)/bin:$(BR_PATH)
......@@ -26,7 +27,10 @@ define CRIO_BIN_CONFIGURE_CMDS
endef
define CRIO_BIN_BUILD_CMDS
$(CRIO_BIN_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) binaries PREFIX=/usr BUILDTAGS="containers_image_ostree_stub"
mkdir -p $(@D)/bin
$(CRIO_BIN_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) PREFIX=/usr pause
$(CRIO_BIN_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) PREFIX=/usr crio
$(CRIO_BIN_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) PREFIX=/usr conmon
endef
define CRIO_BIN_INSTALL_TARGET_CMDS
......@@ -36,12 +40,6 @@ define CRIO_BIN_INSTALL_TARGET_CMDS
$(INSTALL) -Dm755 \
$(@D)/bin/crio \
$(TARGET_DIR)/usr/bin/crio
$(INSTALL) -Dm755 \
$(@D)/bin/crioctl \
$(TARGET_DIR)/usr/bin/crioctl
$(INSTALL) -Dm755 \
$(@D)/bin/kpod \
$(TARGET_DIR)/usr/bin/kpod
$(INSTALL) -Dm755 \
$(@D)/bin/conmon \
$(TARGET_DIR)/usr/libexec/crio/conmon
......@@ -64,7 +62,7 @@ endef
define CRIO_BIN_INSTALL_INIT_SYSTEMD
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) install.systemd DESTDIR=$(TARGET_DIR) PREFIX=$(TARGET_DIR)/usr
$(INSTALL) -Dm755 \
$(INSTALL) -Dm644 \
$(BR2_EXTERNAL_MINIKUBE_PATH)/package/crio-bin/crio.service \
$(TARGET_DIR)/usr/lib/systemd/system/crio.service
$(call link-service,crio.service)
......
......@@ -99,9 +99,20 @@ cgroup_manager = "cgroupfs"
# hooks_dir_path is the oci hooks directory for automatically executed hooks
hooks_dir_path = "/usr/share/containers/oci/hooks.d"
# default_mounts is the mounts list to be mounted for the container when created
default_mounts = [
]
# pids_limit is the number of processes allowed in a container
pids_limit = 1024
# enable using a shared PID namespace for containers in a pod
enable_shared_pid_namespace = false
# log_size_max is the max limit for the container log size in bytes.
# Negative values indicate that no limit is imposed.
log_size_max = -1
# The "crio.image" table contains settings pertaining to the
# management of OCI images.
[crio.image]
......
......@@ -12,9 +12,9 @@ EnvironmentFile=/var/run/minikube/env
Environment=GOTRACEBACK=crash
ExecStartPre=/bin/mkdir -p ${PERSISTENT_DIR}/var/lib/containers
ExecStart=/usr/bin/crio \
$CRIO_OPTIONS \
$CRIO_MINIKUBE_OPTIONS \
--root ${PERSISTENT_DIR}/var/lib/containers
$CRIO_OPTIONS \
$CRIO_MINIKUBE_OPTIONS \
--root ${PERSISTENT_DIR}/var/lib/containers
ExecReload=/bin/kill -s HUP $MAINPID
TasksMax=8192
LimitNOFILE=1048576
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册