Skip to content
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

Remove deprecated docker infrastructure #14951

Merged
merged 6 commits into from
Oct 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ che.workspace.http_proxy=
che.workspace.https_proxy=
che.workspace.no_proxy=

# Configures dns resolving servers. May contain several values separated by comma sign.
che.dns.resolvers=

# By default, when users access to a workspace with its URL the workspace
# automatically starts if it is stopped. You can set this to false to disable this.
che.workspace.auto_start=true
Expand Down Expand Up @@ -127,9 +124,6 @@ che.workspace.default_memory_request_mb=512
# Each machine can have many agents installed, each located in a different location.
che.workspace.agent.dev=${che.home}/lib/ws-agent.tar.gz

# Hosts listed here will be added to /etc/hosts of each workspace.
che.workspace.hosts=NULL

che.installer.registry.remote=NULL

# Period of inactive workspaces suspend job execution.
Expand Down Expand Up @@ -187,155 +181,7 @@ che.oauth.github.tokenuri= https://github.com/login/oauth/access_token
che.oauth.github.redirecturis= http://localhost:${CHE_PORT}/api/oauth/callback


### DOCKER PARAMETERS
# Docker is the default machine implementation within Che. Workspaces are powered by machines
# that are constructed when the workspace is started. The images used to generate containers
# for the machines can come from DockerHub or a private Docker registry.
che.docker.registry=${CHE_REGISTRY_HOST}:5000

# If this is true, then we always pull an image from a registry even if we have an image cached
# locally. If false, Docker only pulls image if it does not exist locally.
che.docker.always_pull_image=true

# If true, then launches all workspace runtime containers with Docker's
# privileged mode. Please use responsibly. This is required if you want Che workspaces
# to be able to launch their own runtimes which are embedded Docker containers.
che.docker.privileged=false

# This parameter allows to specify custom security options for the created docker container.
# seccomp:unconfined is the default for kubernetes, but not for docker. This is needed
# for debugging with gdbserver. See https://github.com/eclipse/che/issues/4284 for details.
# Parameters are passed as an array, so you can add multiple
# values comma seperated. Please also see https://docs.docker.com/engine/api/v1.21/#2-endpoints,
# in particular the "HostConfig":{"SecurityOpt": []} entry. If this parameter is empty,
# docker blocks certain Syscalls by default https://docs.docker.com/engine/security/seccomp/
# WARNING: if you give incorrect values, docker gives an error and doesn't start the container
# Example: che.docker.securityopt=seccomp:unconfined,apparmor:unconfined
che.docker.securityopt=

# Limits the number of processes that can be forked inside a cgroup. Set -1 for unlimited.
# Since 4.3 kernel.
che.docker.pids_limit=-1

# Sets parent cgroup for cgroups of containers created by workspaces.
# This allows an admin to set custom cgroup limitations to all containers of workspaces by configuring cgroups.
# Example:
# /my_group
# my_another_group
che.docker.parent_cgroup=NULL

# Sets set of CPUs that can be used by each container of started workspace.
# Example:
# 0-3
# 1,4
che.docker.cpuset_cpus=NULL

# Next 2 properties set limits on CPU consumption by containers of started workspaces.
# Period sets amount of units per CPU core.
# Quota sets amount of units available for container per whole CPU.
# Max value of quota could be period * number of CPU cores in a system.
# Example:
# che.docker.cpu_period=5000
# che.docker.cpu_quota=10000
che.docker.cpu_period=0
che.docker.cpu_quota=0

# Adds options when mounting the /projects volume.
che.docker.volumes_projects_options=Z

# Adds options when mounting the /mnt/che/terminal, /mnt/che/ws-agent.tar.gz, /mnt/che/conf volume
che.docker.volumes_agent_options=ro,Z

# If the browser clients that are accessing Che are remote AND the configuration of Docker is an
# internal IP address or using Unix sockets, then remote browser clients will not be able to connect
# to the workspace. Set the Docker configuration so that Docker containers have an external IP
# address and provide that external host or IP address here.
# This is uncommon, and only needed for advanced Docker configurations.
che.docker.ip=NULL

# The hostname that a browser should use to connect to a workspace container.
# Only set this if your workspace containers are not directly pingable.
# This is unusual, but happens for example in Docker for Mac when containers are in a VM.
che.docker.ip.external=NULL

# Provides a Docker network where Che server is running.
# Workspace containers created by Che will be added to this Docker network.
# Communications between the Che server and container occur over this network.
che.docker.network=NULL

# Docker unused containers and networks cleanup period
che.docker.cleanup_period_min=60

# Version number of the Docker API used within the Che implementation
che.docker.api=1.23

# Whether to enable component that detects failures of a machine caused by unexpected container stop
che.docker.enable_container_stop_detector=true

che.docker.network_driver=NULL

che.docker.tcp_connection_timeout_ms=600000
che.docker.tcp_connection_read_timeout_ms=600000

# Docker registry example. Uncomment to add a registry configuration.
# You can configure multiple registries with different names.
#che.docker.registry.auth.<insert-name>.url=https://index.docker.io/v1/
#che.docker.registry.auth.<insert-name>.username=<username>
#che.docker.registry.auth.<insert-name>.password=<password>

# Allows to adjust machine swap memory by multiplying current machnine memory to provided value.
# default is -1 which is unlimited swap. If set, value is multipled by machine memory set by user
# to determine swap size. To disable swap set to 0.
che.docker.swap=-1

### Che docker infrastructure parameters

# This is the API endpoint of the workspace master running within the core Che server.
# This tells the workspace agent how to connect back to the Che server.
# che-host is a hostname entry added to /etc/hosts of the workspace by the Che server.
che.infra.docker.master_api_endpoint=http://che-host:${CHE_PORT}/api

# This is the webscoket base endpoint of the workspace master running within the core Che server.
che.infra.docker.master_websocket_endpoint=ws://che-host:${CHE_PORT}/api/websocket

# This is the minor webscoket base endpoint of the workspace master running within the core Che server.
che.infra.docker.master_websocket_minor_endpoint=ws://che-host:${CHE_PORT}/api/websocket-minor

# Time (in minutes) given for bootstrapping.
# If boostrapping is not finished in time it will be failed and workspace start will fail.
che.infra.docker.bootstrapper.timeout_min=10

# Time (in seconds) given for one installer to complete its installation.
# If installation is not finished in time it will be interrupted.
che.infra.docker.bootstrapper.installer_timeout_sec=180

# Time(in seconds) between servers availability checks.
# Once servers for one installer available - checks stopped.
che.infra.docker.bootstrapper.server_check_period_sec=3

# Number of threads to build or pull docker images
# in parallel on workspace startups.
che.infra.docker.max_pull_threads=10

# Time(in seconds) that limits the docker build process.
# The default value is 8 minutes, after which the build will be considered as failed.
che.infra.docker.build_timeout_sec=480

# Single port mode
che.single.port=false

# URL rewriter. May be overriden in case of single-port mode e.t.c
che.infra.docker.url_rewriter=default

# Enable to perform migration of workpace projects at Che startup.
# Projects, which are stored in directories named after their workspace name,
# will be stored by workspace id instead.
che.workspace.migrate_workspace_projects_on_startup=true

### INTERNAL
# Remove locations where internal message bus events should be propagated to.
# For debugging - set to retrieve internal events from external clients.
notification.server.propagate_events=

# Che extensions can be scheduled executions on a time basis.
# This configures the size of the thread pool allocated to extensions that are launched on
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @author Alexander Garagatyi
*/
public interface Recipe {
/** Type of the environment, e.g. docker compose. */
/** Type of the environment. */
String getType();

/** Content type of the environment recipe, e.g. application/x-yaml. */
Expand Down
164 changes: 0 additions & 164 deletions infrastructures/docker/docker-auth/pom.xml

This file was deleted.

Loading