README.md in mkit-0.7.2 vs README.md in mkit-0.8.0
- old
+ new
@@ -7,11 +7,11 @@
It contains an internal DNS and uses HAProxy as ingress for Pod access.
The database is a simple sqlite3 db and the server is a Sinatra based application.
A client is also included to access the API, e.g. `mkit ps`.
-The daemon is responsible for HAProxy pods routing configuration. It also provides the cluster DNS and manages the internal host interface and the docker instances.
+The daemon is responsible for HAProxy pods routing configuration. It also provides the cluster DNS and manages the internal host interface and the pod instances.
## Requirements
* Ruby
* HAProxy
@@ -122,11 +122,11 @@
### Service
```
service:
- name: rabbitmq # unique
+ name: rabbitmq # unique. Available on internal DNS as 'rabbitmq'
image: rabbitmq:3-management-alpine # image
network: bridge # docker network - it will be created if it does not exists
ports: # haproxy port mapping
# <external_port>:[internal_port]:<tcp|http>:[round_robin (default)|leastconn]
# to define a range on `external_port`, leave `internal_port` blank
@@ -138,11 +138,11 @@
# - 443:80:http:round_robin:ssl # uses mkitd default crt file (mkit.pem)
# - 443:80:http:round_robin:ssl,/etc/pki/foo.pem # custom crt file full path
- 5672:5672:tcp:round_robin
- 80:15672:http:round_robin
resources:
- min_replicas: 1 # default value
+ min_replicas: 1 # default value. Pods will be available on internal DNS as '<service_name>.internal'
max_replicas: 1 # default value
volumes:
- docker://mkit_rabbitmq_data:/var/lib/rabbitmq # a docker volume - it will be created if it does not exists
- /var/log/rabbitmq/logs:/var/log/rabbitmq # a local volume
environment:
@@ -190,11 +190,12 @@
stop stop service
restart restart service
create create new service
update update service
rm remove service
+exec execute a command in a running pod
logs view service logs
-version prints mkit server version
+version prints mkit client and server version
proxy haproxy status and control
profile mkit client configuration profile
Run ' mkit help <command>' for specific command information.
```