Skip to content

Conversation

@VledicFranco
Copy link
Contributor

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Sep 1, 2020

Codecov Report

Merging #652 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #652   +/-   ##
=======================================
  Coverage   81.39%   81.39%           
=======================================
  Files         114      114           
  Lines        3869     3869           
  Branches       95       95           
=======================================
  Hits         3149     3149           
  Misses        720      720           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 50ca004...8233f70. Read the comment docs.


## Baker and Interaction CRDs

The 2 CRDs that we have contain all the requirements of the components to be deployed, like the amount of cluster nodes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'amount' is used with uncountable nouns, 'number' should be used instead

Also the specification of the CRDs can be found [here for Baker](../bakery-integration-tests/src/test/resources/kubernetes/crd/crd-baker.yaml)
and [here for Interaction](../bakery-integration-tests/src/test/resources/kubernetes/crd/crd-interaction.yaml)

### Baker Manifests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here and 3 sections below: just one long sentence per section.
Splitting it to shorter sentences and avoiding passive voice where possible would improve readability.

## Configuration mounting

As part of the CRDs of both Bakers and Interactions, one can add the name of a secret and/or a configmap to mount configuration
within the Bakers and Interaction pods, this is used for example to configure per environment cassandra connectivity or
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inconsistent capitalisation, baker vs Baker, cassandra vs Cassandra.


## Baker Clients

Baker clients can either consume the HTTP api or use our published bakery-baker-client library to use a baker scala/java
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps worth adding that the APIs exposed by Baker are 'naked' in the sense that doesn't provide any authn/z
and this is up to the implementor to arrange

changes and deletions of such CRDs, so that the state of the namespace always matches the textual specifications.

The Bakery Controller also creates Kubernetes ConfigMaps which we call "Manifests", which are outcome of the creation of
a CRD, these are config maps used as internal mechanisms to expose semantic data about the deployed components, more of
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps a minor point, just for consistency:
CRD is Custom Resource Definition, that is - the metadata, the schema to which CR (Custom Resource) must adhere
therefore, what is being created by controller is not a CRD (CRD has already been created in the cluster) but just a CR or custom resource

@VledicFranco VledicFranco merged commit 45bf0df into master Sep 3, 2020
@VledicFranco VledicFranco deleted the tech-docs branch September 3, 2020 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants