Sha256: 3e44cdc019a6a0fd4675312d4264a3e84c17cf02a7cf9a8887c89073250e2a4c

Contents?: true

Size: 753 Bytes

Versions: 43

Compression:

Stored size: 753 Bytes

Contents

## Config

The `config.rb` is where you can configure Kubes settings.

```ruby
Kubes.configure do |config|
  config.repo = "112233445566.dkr.ecr.us-west-2.amazonaws.com/demo" # may be gcr.io/project-123/demo
  config.logger.level = "info"
  # auto-switching
  # config.kubectl.context = "dev-cluster"
end
```

This is where the `--repo` from `kubes init` got saved.  The other options are covered in the [Env Config Docs]({% link _docs/config/env.md %}).

## Dockerfie

The `Dockerfile` is a simple starter example that just runs nginx

Dockerfile:

    # Simple example starter
    FROM nginx
    EXPOSE 80
    CMD ["nginx", "-g", "daemon off;"]

Note: If your project already has a Dockerfile, kubes will use that instead of generating a starter one.

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
kubes-0.8.6 docs/_includes/learn/review.md
kubes-0.8.5 docs/_includes/learn/review.md
kubes-0.8.4 docs/_includes/learn/review.md
kubes-0.8.3 docs/_includes/learn/review.md
kubes-0.8.2 docs/_includes/learn/review.md
kubes-0.8.1 docs/_includes/learn/review.md
kubes-0.8.0 docs/_includes/learn/review.md
kubes-0.7.10 docs/_includes/learn/review.md
kubes-0.7.9 docs/_includes/learn/review.md
kubes-0.7.8 docs/_includes/learn/review.md
kubes-0.7.7 docs/_includes/learn/review.md
kubes-0.7.6 docs/_includes/learn/review.md
kubes-0.7.5 docs/_includes/learn/review.md
kubes-0.7.4 docs/_includes/learn/review.md
kubes-0.7.3 docs/_includes/learn/review.md
kubes-0.7.2 docs/_includes/learn/review.md
kubes-0.7.1 docs/_includes/learn/review.md
kubes-0.7.0 docs/_includes/learn/review.md
kubes-0.6.8 docs/_includes/learn/review.md
kubes-0.6.7 docs/_includes/learn/review.md