From 8db18d78975af115f44c84c170f678fc34001789 Mon Sep 17 00:00:00 2001 From: Jack Lucas Date: Mon, 18 Jun 2018 14:02:13 +0000 Subject: Create k8s readiness probe Change-Id: Iaf222957bc7aa049e3d8d6d1c290435767487387 Issue-ID: DCAEGEN2-503 Signed-off-by: Jack Lucas --- k8s/ChangeLog.md | 56 ++++++++------------------------------------------------ 1 file changed, 8 insertions(+), 48 deletions(-) (limited to 'k8s/ChangeLog.md') diff --git a/k8s/ChangeLog.md b/k8s/ChangeLog.md index 0d0eafc..28df171 100644 --- a/k8s/ChangeLog.md +++ b/k8s/ChangeLog.md @@ -5,58 +5,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [2.4.0] -* Change *components* to be policy reconfigurable: - - Add policy execution operation - - Add policy decorators to task so that application configuration will be merged with policy -* Fetch Docker logins from Consul -## [2.3.0+t.0.3] +## [1.2.0] +* Enhancement: Use the "healthcheck" parameters from node_properties to set up a +Kubernetes readiness probe for the container. -* Enhance `SelectedDockerHost` node type with `name_search` and add default to `docker_host_override` -* Implement the functionality in the `select_docker_host` task to query Consul given location id and name search -* Deprecate `location_id` on the `DockerContainerForComponents*` node types -* Change `service_id` to be optional for `DockerContainerForComponents*` node types -* Add deployment id as a tag for registration on the component +## [1.1.0] +* Enhancement: When Cloudify Manager is running in a Docker container in a Kubernetes environment, the plugin can use the Kubernetes API credentials set up by Kubernetes. -## [2.3.0] - -* Rip out dockering and use common python-dockering library - - Using 1.2.0 of python-dockering supports Docker exec based health checks -* Support mapping ports and volumes when provided in docker config - -## [2.2.0] - -* Add `dcae.nodes.DockerContainerForComponentsUsingDmaap` node type and parse streams_publishes and streams_subscribes to be used by the DMaaP plugin. - - Handle message router wiring in the create operation for components - - Handle data router wiring in the create and in the start operation for components -* Refactor the create operations and the start operations for components. Refactored to be functional to enable for better unit test coverage. -* Add decorators for common cross cutting functionality -* Add example blueprints for different dmaap cases - -## [2.1.0] - -* Add the node type `DockerContainerForPlatforms` which is intended for platform services who are to have well known names and ports -* Add backdoor for `DockerContainerForComponents` to statically map ports -* Add hack fix to allow this plugin access to the research nexus -* Add support for dns through the local Consul agent -* Free this plugin from the CentOS bondage - -## [2.0.0] - -* Remove the magic env.ini code. It's no longer needed because we are now running local agents of Consul. -* Save and use the docker container id -* `DockerContainer` is now a different node type that is much simpler than `DockerContainerforComponents`. It is targeted for the use case of registrator. This involved overhauling the create and start container functionality. -* Classify connection and docker host not found error as recoverable -* Apply CONSUL_HOST to point to the local Consul agent +## [1.0.1] +* Fixes a bug in passing environment variables. ## [1.0.0] -* Implement health checks - expose health checks on the node and register Docker containers with it. Note that health checks are currently optional. -* Add option to remove images in the stop operation -* Verify that the container is running and healthy before finishing the start operation -* Image names passed in are now required to be the fully tagged names including registry -* Remove references to rework in the code namespaces -* Application configuration is now a YAML map to accomodate future blueprint generation -* Update blueprints and cfyhelper.sh +* Initial release of the Kubernetes plugin. It is built on the [Docker plugin](../docker) and preserves the Docker plugin's integration with the policy plugin and the DMaaP plugin. -- cgit 1.2.3-korg