Skip to content

rubrionmc/deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command Usage

# Install dependencies and setup environment (run this command only once)
deployment.yaml.sh install
# Validate install without starting stoping or modifying the application
deployment.yaml.sh hello
# Start the application with the specified enviroments
deployment.yaml.sh start <env> 
# e.g., deployment.yaml.sh start lab
# Stop the application
deployment.yaml.sh status
# Deploy a specific pod with the optional -f flag to overwrite existing pods
deployment.yaml.sh deploy <pod> [-f]
# Overwirte a specific image with a new local image
deployment.yaml.sh overwrite <image>
# Stop the application
deployment.yaml.sh stop

Placeholders for the deployments

Static Placeholders

{{NAMESPACE}}: The namespace where the application is deployed without the prefix (e.g. proxy, infra, ...).

{{ENVIROMENT}}: The environment to deploy (e.g. dev, staging, prod).

{{DOMAIN}}: The domain name for the application (e.g. rubrion.lab).

{{PREFIX}}: The domain name for the application but with a - (e.g. rubrion-lab).

{{MEMORY_USAGE_LIMIT}}: The memory limit for the hole cluster (e.g. 16GiB).

{{CPU_USAGE_LIMIT}}: The CPU limit for the hole cluster (e.g. 600) (100% = 1 CPU Core).

{{GAME_SERVER_MINIMAL}}: The minimal number of game servers to be deployed (e.g. 2).

Dynamic Placeholders

{{IMAGE:imageid}}: The hole image name with the tag (e.g. myapp:latest)

k8s/

  global/
    namespace.yaml
    resourcequota.yaml

  env/
    prod.yaml
    staging.yaml
    dev.yaml

  proxy/
    deployment.yaml
    service.yaml

  game/
    statefulset.yaml
    service.yaml
    pvc.yaml

  infra/
    postgres.yaml
    redis.yaml

  api/
    deployment.yaml
    service.yaml
    ingress.yaml

  web/
    deployment.yaml
    service.yaml
    ingress.yaml

About

The offical kubernetes config and build script for deployments of the rubrion server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors