Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: cre technical patterns #9

Merged
merged 31 commits into from
Dec 14, 2020
Merged

Conversation

Ottovsky
Copy link
Contributor

@Ottovsky Ottovsky commented Oct 22, 2020

Please treat it as an invitation to the discussion in comments, I think there is still some work to be done before merging.

Let's agree whether those patterns fit the CRE idea and we could possibly support them in the future. Also if you have any comments regarding content, formatting, typos, please don't hesitate to raise them.

@darren-reddick
Copy link
Contributor

Could we put a guide on running this locally? I've been running jekyll locally and its nice to have the option to see the changes rendered.

@cewood
Copy link
Contributor

cewood commented Oct 26, 2020

Could we put a guide on running this locally? I've been running jekyll locally and its nice to have the option to see the changes rendered.

Maybe we could target migrating this to Hugo later on as well, if anyone is interested? There's no reason to be migrating sites to Jekyll in 2020, just more cargo culting 🤦‍♂️

@darren-reddick
Copy link
Contributor

Maybe we could target migrating this to Hugo later on as well,

Yes. That could be a good thing to do.
How is this thing actually hosted atm anyway?

@cewood
Copy link
Contributor

cewood commented Oct 26, 2020

Maybe we could target migrating this to Hugo later on as well,

Yes. That could be a good thing to do.

Kewl, well we can add an item to our backlog if there's interest to track doing that later.

How is this thing actually hosted atm anyway?

It's being published to GitHub pages, the hint is here https://github.com/ContainerSolutions/cloud-native-patterns/blob/master/CNAME

That could also be something we considering changing, moving it to Netlify or similar, so we can get viewable deployment previews on PR's, to properly see things before merging or releasing, etc. I've had great success using Cloudflare, Netlify, and Hugo before, super fast free hosting and nice experience overall.

@Ottovsky
Copy link
Contributor Author

Could we put a guide on running this locally? I've been running jekyll locally and its nice to have the option to see the changes rendered.

Maybe we could target migrating this to Hugo later on as well, if anyone is interested? There's no reason to be migrating sites to Jekyll in 2020, just more cargo culting man_facepalming

I like the idea, I will create a low priority task in the jira for it.


CI/CD services on an Enterprise scale are difficult to implement. Taking into account
requirements for auditing, compliance and team flexibility will lead to a system
which is customized to a high degree. Often the responsibility for the these services
end up with the Platform Team, which is managing infrastructure. While CI/CD is related
to the infrastructure platform, it has it's own goals and a different domain (in DDD terms).

## Solution
## Therefore

Create a dedicated product team, which will build and manage CI/CD services. This team will
Copy link
Contributor

Choose a reason for hiding this comment

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

Having the word "product" here is confusing. Would it not read better if it just said "create a dedicated team" as a reference to the CI/CD Platfrom team.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right, without defining what does the "product team" means, we should not use it here.

layout: pattern
---

![GitOps]({{ site.baseurl }}/assets/images/Generic.png)

Description part 2
You have setup all your infrastructure as code (see #InfrastructureAsCode pattern).
Copy link
Contributor

Choose a reason for hiding this comment

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

I dont see an InfrastructureAsCode pattern anywhere in this repo. I am going to remove this reference for now....

technical.md Outdated Show resolved Hide resolved
@darren-reddick
Copy link
Contributor

Im not sold on the "structured-logging" pattern - i'm not sure what it is advocating: is it the centralization of the logs? Is it a particular format for the logs? Of course these are good things but I dont think the case for them is well presented here.
The other patterns present a "scenario > problem > solution" structure which I think is missing here so I think we have more work to do on this one if we are going to keep it.

@Ottovsky
Copy link
Contributor Author

Agree, I was not bought by this when I refactored it. I think it is about having logs structured and serialized in a way that it is easy to store and query in ELK or something similar. The reference to the RFC is not very clear to me, I would just drop it for now.

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
@darren-reddick
Copy link
Contributor

I totally forgot about that :( I will adjust it accordingly

Here you go.... https://container-solutions.atlassian.net/wiki/spaces/CRE/pages/263356540/Tech+Patterns+Cloud+Native+Patterns+Discussion

Ottovsky and others added 2 commits November 3, 2020 15:20
Co-authored-by: Cameron Wood <cameron.wood@container-solutions.com>
Copy link

@rodrmartinez rodrmartinez left a comment

Choose a reason for hiding this comment

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

Just some typos

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
_technical/cicd-as-platform.md Outdated Show resolved Hide resolved
_technical/dynamic-secrets.md Outdated Show resolved Hide resolved
_technical/ephemeral-environments.md Show resolved Hide resolved
@Ottovsky Ottovsky removed their assignment Nov 25, 2020
Copy link
Contributor

@cewood cewood left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@darren-reddick can you please review and merge if there's no further feedback.

_technical/structured-logging.md Outdated Show resolved Hide resolved
_technical/ephemeral-environments.md Show resolved Hide resolved
_technical/structured-logging.md Outdated Show resolved Hide resolved
_technical/cicd-as-platform.md Outdated Show resolved Hide resolved
@darren-reddick
Copy link
Contributor

Have run it using a jekyll server locally and LGTM

@rodrmartinez rodrmartinez merged commit 8ba71e9 into technicalpatterns Dec 14, 2020
@cewood cewood deleted the cre-technical-patterns branch December 16, 2020 08:07
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.

None yet

5 participants