-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathokteto.yml
37 lines (30 loc) · 1.18 KB
/
okteto.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: okteto-elasticsearch
# The build section defines how to build the images of your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#build
build:
# You can use the following env vars to refer to this image in your deploy commands:
# - OKTETO_BUILD_ES01_REGISTRY: image registry
# - OKTETO_BUILD_ES01_REPOSITORY: image repo
# - OKTETO_BUILD_ES01_IMAGE: image name
# - OKTETO_BUILD_ES01_TAG: image tag
es01:
context: .
dockerfile: Dockerfile
image: okteto.dev/myes:latest
# The deploy section defines how to deploy your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#deploy
deploy:
- kubectl apply -f ./k8s/
# The dependencies section defines other git repositories to be deployed as part of your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#dependencies
# dependencies:
# - https://github.com/okteto/sample
# The dev section defines how to activate a development container
# More info: https://www.okteto.com/docs/reference/manifest/#dev
dev:
busybox:
image: yauritux/busybox-curl
command: /bin/sh
sync:
- .:/okteto
autocreate: true