Sha256: 13a2111d262e711f5e2b20376751574fa22f3099a89ed9086af6ceb10f028013

Contents?: true

Size: 772 Bytes

Versions: 8

Compression:

Stored size: 772 Bytes

Contents

## Config

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

.kubes/config.rb

```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 %}).

## Dockerfile

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

8 entries across 8 versions & 1 rubygems

Version Path
kubes-0.9.3 docs/_includes/learn/review.md
kubes-0.9.2 docs/_includes/learn/review.md
kubes-0.9.1 docs/_includes/learn/review.md
kubes-0.9.0 docs/_includes/learn/review.md
kubes-0.8.10 docs/_includes/learn/review.md
kubes-0.8.9 docs/_includes/learn/review.md
kubes-0.8.8 docs/_includes/learn/review.md
kubes-0.8.7 docs/_includes/learn/review.md