Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

0.11.2

Compare
Choose a tag to compare
@keptn-bot keptn-bot released this 29 Nov 15:03
· 1961 commits to master since this release

Release Notes 0.11.2

⚠️ We identified a critical regression that deletes subscripts: "Uniform API: Subscriptions are deleted if distributor reregisters itself with a different integration/distributor version" #7047.

Keptn 0.11.2 provides a new MongoDB, which was updated from 3.6 to 4.4. This means that a manual database migration is needed to preserve data during the keptn upgrade process! Steps to upgrade Keptn with the manual migration can be found on the Keptn Upgrade page.


Key announcements:

BREAKING CHANGE: This release requires a manual migration of all data in the Keptn Mongo DB. For more information, see our upgrade guide.

📫 Webhooks UI allows delegating to external services the execution of specific tasks. For an example, see our Jenkins integration.

🔨 Hardening on Keptn: This release improved the High Availability (HA) capabilities of core components and performance optimization in the Bridge.

Features

Bug Fixes

  • Adapt log level of SDK logs (#5920) (#5921) (d314008)
  • api: Remove multiple types in event model (#5948) (#5957) (30d5556)
  • approval-service: Fall back to manual strategy when there is no result available (#6012) (#6017) (9617814)
  • bridge: Add empty state to sequence-view (#5084) (#5693) (b7c10df)
  • bridge: Correctly show warning state (#6003) (9a21d19)
  • bridge: Don't log err (contains the x-token), only log err.message (#6047) (#6052) (3eea6e3)
  • bridge: Fix integration curl commands for api (#5941) (d76eccc)
  • bridge: Fix problem with redirect and headers on cluster (#6169) (8d17870)
  • bridge: Fixed missing problem title and decode of remediation config (#6053) (ea0c53f)
  • bridge: Fixed overwriting of data in environment screen (#5841) (74a9a3d)
  • bridge: Fixed removal of sequences if project endpoint of bridge server responds before projects endpoint of shipyard (#6183) (43bdc33)
  • bridge: Fixed wrong weight of SLI (#5987) (e536dbc)
  • bridge: Possible fix for flaky clicks in UI tests (#5909) (58c5deb)
  • bridge: Remove inline script for base url and upgrade-insecure-requests header part (#6019) (b2e9960)
  • bridge: Show right event type (#5828) (316d117)
  • bridge: Take SLI-weight out of SLO-file (#5782) (f961ce1)
  • bridge: Use helmet middlewares to prevent XSS (8a58fb3)
  • cli: Make sure the release version is set in command descriptions (#5762) (#5888) (24110c0)
  • cli: Problem with missing http(s) in endpoint flag during keptn auth (#6039) (e4164db)
  • configuration-service: Changed bad order of extracting and adding resources to services (#6006) (35605b7)
  • configuration-service: Completely replace previous helm chart directory when updating (#6050) (#6058) (74eefdf)
  • configuration-service: Fix order of extracting and adding files to the repo (#6041) (#6045) (4a3bf22)
  • distributor: Fix message filtering in distributor (#6074) (#6075) (602eb37)
  • distributor: Fix subscription handling after message broker reconnect (#5823) (49b1051)
  • distributor: Sanitized logs and cleaned up forwarder lifecycle (#6036) (be5adb5)
  • distributor: Set default timeout of Uniform API requests to 5s (#6011) (#6015) (d89cab9)
  • Fix bug where approval and remediation service would not run through unit tests anymore (495654c)
  • Fix bug where DCO check always fails on dependabot PRs (6a4b58d)
  • Fix multiple issues found by Sonatype Lift static analysis (#5934) (dd93b4e)
  • Fix sub-project change detection for build-everything and master builds (db808d6)
  • Fix version not showing up anymore in API (#5783) (1eea3f9)
  • Fixed bug where MongoDB would not come up in airgapped setup (#5939) (079a6b4)
  • Handle upstream not found (#5977) (#5994) (77240d4)
  • shipyard-controller: Cleanup uniform subscriptions when service is deleted (#5725) (#5766) (d95f7a6)
  • shipyard-controller: Migrate and avoid mongodb keys containing dots (#6065) (5259bcf)
  • shipyard-controller: Removed error shadowing (#6048) (04416da)
  • shipyard-controller: Store lastEventTypes only for events that belong to a sequence controlled by the shipyard controller (#5309) (#5777) (ee27c62)
  • Update auto-update pipelines to follow keptns semantic PR guidelines (#5931) (280fa4e)
  • webhook-service: Avoid .finished.finished/.started.finished events (#5954) (#6000) (fbe01a8)
  • webhook-service: Invalid conversion of eventType (#5998) (67dba55)

Other

  • Add RealAnna to Maintainers list (34175bb)
  • Add environment variables for setting log levels of Keptn services (#5373) (#5911) (809baea)
  • Add flowcharts that describe components of the shipyard controller (#5919) (8aa4dd8)
  • Add odubajDT as maintainer (#60) (#6049) (65ae6cf)
  • Add TannerGilbert as project member (#5899) (65148be)
  • Add the correct label for bug reports (#5908) (dc296a5)
  • Added go-sdk and webhook-service to dependencies-and-licenses check (#5898) (6481ca3)
  • Cancel integration tests when mismatch between CLI and kube context is detected (#5743) (#5824) (5596611), closes #5734
  • Fixing imports according to snyc (#5936) (391ace2)
  • helm-service: More meaningful error messages (#6089) (80d59cb)
  • Increase timeout of DeliveryAssistant integration test (#6067) (b141ce4)
  • jmeter-service: Bump version of jmeter binary to 5.4.1 (#6032) (3c250d2)
  • jmeter-service: Cleanups (#6014) (5e779eb)
  • Mitigating racecondition in unit tests (#5901) (5a642a5)
  • mongodb-datastore: Refactoring (#5917) (#6002) (3242094)
  • Polish HTTP(S) headers (a4f52b4)
  • Remove sequence migration integration test because component has been removed (#6101) (afeb7fc)
  • Removed cluster role binding (#5955) (391a3ba)
  • Removed obsolete files (#4818) (#5932) (588a76d)
  • shipyard-controller: Adapted log level (#5978) (3cbfcd7)
  • shipyard-controller: Cleaning up package(s) (#5786) (a6e51d4)
  • shipyard-controller: Cleanups & refactorings 2 (#5937) (adf4078)
  • shipyard-controller: Do not interpret absence of configurationChange property as an error (#5979) (#5982) (28a9a92)
  • shipyard-controller: Extract shipyard retrieval into its own component (#5243) (#5821) (a1d18ae)
  • shipyard-controller: Move event operations to event repo (#5902) (730864b)
  • Updated dependencies according to ArtifactHub and Snyk (#5543) (#5951) (48fc51c)
  • Updated go-utils dependency (#5968) (#5969) (f2c796e)
  • Use correct link in CLI upgrade message (961ea2a)

Refactoring

  • bridge: Reduce number of API calls for project endpoint (#5450) (25fd876)
  • bridge: Refactoring of project settings / create project (#5100) (03fc3d2)
  • bridge: Refactoring of service screen (#4918) (#5244) (8f3b810)
  • bridge: Refactoring of services settings (#5100) (771ec59)
  • cli: Use viper to manage keptn config (#5694) (498d893)
CI Information

Kubernetes Resource Data

Resource Limits
Resource Limits for kubernetes-GKE

Pod Container Memory (requested) CPU (requested) Memory (limit) CPU (limit) Images
api-gateway-nginx api-gateway-nginx 64Mi 50m 128Mi 100m docker.io/nginxinc/nginx-unprivileged:1.21.3-alpine
api-service api-service 32Mi 50m 64Mi 100m docker.io/keptn/api:0.11.2
api-service distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
approval-service approval-service 32Mi 25m 128Mi 100m docker.io/keptn/approval-service:0.11.2
approval-service distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
bridge bridge 64Mi 25m 128Mi 200m docker.io/keptn/bridge2:0.11.2
configuration-service configuration-service 32Mi 25m 64Mi 100m docker.io/keptn/configuration-service:0.11.2
helm-service helm-service 128Mi 50m 512Mi 1 docker.io/keptn/helm-service:0.11.2
helm-service distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
jmeter-service jmeter-service 128Mi 100m - - docker.io/keptn/jmeter-service:0.11.2
jmeter-service distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
keptn-mongo mongodb - - - - docker.io/bitnami/mongodb:4.4.9-debian-10-r0
lighthouse-service lighthouse-service 128Mi 50m 1Gi 200m docker.io/keptn/lighthouse-service:0.11.2
lighthouse-service distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
mongodb-datastore mongodb-datastore 32Mi 50m 512Mi 300m docker.io/keptn/mongodb-datastore:0.11.2
mongodb-datastore distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
remediation-service remediation-service 64Mi 50m 1Gi 200m docker.io/keptn/remediation-service:0.11.2
remediation-service distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
secret-service secret-service 32Mi 25m 64Mi 200m docker.io/keptn/secret-service:0.11.2
shipyard-controller shipyard-controller 32Mi 50m 128Mi 100m docker.io/keptn/shipyard-controller:0.11.2
shipyard-controller distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
statistics-service statistics-service 32Mi 25m 64Mi 100m docker.io/keptn/statistics-service:0.11.2
statistics-service distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
webhook-service webhook-service 32Mi 25m 64Mi 100m docker.io/keptn/webhook-service:0.11.2
webhook-service distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2

Summary (whole cluster):

$ kubectl describe node | grep -A5 "Allocated"
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource                   Requests      Limits
  --------                   --------      ------
  cpu                        1196m (30%)   2743m (69%)
  memory                     3077Mi (24%)  4267Mi (34%)
--
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource                   Requests        Limits
  --------                   --------        ------
  cpu                        648m (16%)      100m (2%)
  memory                     622368384 (4%)  922Mi (7%)
--
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource                   Requests    Limits
  --------                   --------    ------
  cpu                        883m (22%)  3100m (79%)
  memory                     762Mi (6%)  2874Mi (23%)

Please note: Depending on the setup, the above includes usage for Istio aswell as the Kubernetes control-plane

Name Size
configuration-volume 100Mi
keptn-mongo 8Gi

Resource Limits for openshift-minishift-on-GHA

Pod Container Memory (requested) CPU (requested) Memory (limit) CPU (limit) Images
api-gateway-nginx api-gateway-nginx 64Mi 50m 128Mi 100m docker.io/nginxinc/nginx-unprivileged:1.21.3-alpine
api-service api-service 32Mi 50m 64Mi 100m docker.io/keptn/api:0.11.2
api-service distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
approval-service approval-service 32Mi 25m 128Mi 100m docker.io/keptn/approval-service:0.11.2
approval-service distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
bridge bridge 64Mi 25m 128Mi 200m docker.io/keptn/bridge2:0.11.2
configuration-service configuration-service 32Mi 25m 64Mi 100m docker.io/keptn/configuration-service:0.11.2
keptn-mongo mongodb - - - - docker.io/bitnami/mongodb:4.4.9-debian-10-r0
lighthouse-service lighthouse-service 128Mi 50m 1Gi 200m docker.io/keptn/lighthouse-service:0.11.2
lighthouse-service distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
mongodb-datastore mongodb-datastore 32Mi 50m 512Mi 300m docker.io/keptn/mongodb-datastore:0.11.2
mongodb-datastore distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
remediation-service remediation-service 64Mi 50m 1Gi 200m docker.io/keptn/remediation-service:0.11.2
remediation-service distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
secret-service secret-service 32Mi 25m 64Mi 200m docker.io/keptn/secret-service:0.11.2
shipyard-controller shipyard-controller 32Mi 50m 128Mi 100m docker.io/keptn/shipyard-controller:0.11.2
shipyard-controller distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
statistics-service statistics-service 32Mi 25m 64Mi 100m docker.io/keptn/statistics-service:0.11.2
statistics-service distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2
webhook-service webhook-service 32Mi 25m 64Mi 100m docker.io/keptn/webhook-service:0.11.2
webhook-service distributor 16Mi 25m 32Mi 100m docker.io/keptn/distributor:0.11.2

Summary (whole cluster):

$ kubectl describe node | grep -A5 "Allocated"
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource           Requests      Limits
  --------           --------      ------
  cpu                950m (47%)    2600m (130%)
  memory             1316Mi (19%)  3648Mi (53%)

Please note: Depending on the setup, the above includes usage for Istio aswell as the Kubernetes control-plane

Name Size
configuration-volume 100Mi
keptn-mongo 8Gi