You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/administration/behind-the-firewall.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,23 @@
1
1
---
2
-
title:"Codefreshbehind thefirewall"
3
-
description:"How to run Codefreshpipelines in your own secureinfrastructure"
2
+
title:"CodefreshBehind theFirewall"
3
+
description:"How to run CodefreshPipelines in your own secureInfrastructure"
4
4
group:administration
5
5
redirect_from:
6
6
-/docs/enterprise/behind-the-firewall/
7
7
toc:true
8
8
9
9
---
10
10
11
-
As explained in the[installation page]({{site.baseurl}}/docs/administration/installation-security/) Codefresh offers3 installation options: pure cloud, on-premises and Hybrid.
12
-
In thispage weare going to describe the Hybrid option and all the advantages it offers.
11
+
As explained in the[installation page]({{site.baseurl}}/docs/administration/installation-security/) Codefresh offersthree installation options; pure cloud, on-premise and Hybrid.
12
+
In thisdocument, wewill describe the Hybrid option and all the advantages it offers.
13
13
14
14
##Running Codefresh in secure environments
15
15
16
-
Codefresh has an on-premises installation where the whole platform is installedin the customer premises. While
17
-
this solution is very effective as far as security is concerned, it places a lot of overhead on the customer as all updates
16
+
Codefresh has an on-premise installation where the whole platform is installedon the customer premises. While
17
+
this solution is very effective as far as security is concerned, it places a lot of overhead on the customer, as all updates
18
18
and improvements done in the platform must also be transferred to the customer premises.
19
19
20
-
Thehybrid approach placesonlya Codefresh runner within customer premises while the UI (and management platform) stays in the CodefreshSAAS.
20
+
TheHybrid approach places a Codefresh runner within customer premises while the UI (and management platform) stays in the CodefreshSaaS.
21
21
22
22
Here is the overall architecture:
23
23
@@ -33,38 +33,38 @@ Here is the overall architecture:
33
33
The advantages for this scenario are multi-fold. Regarding platform maintenance:
34
34
35
35
1. The heavy lifting for platform maintenance is still happening by Codefresh instead of the customer.
36
-
1. Updates to the UI, build engine, integrations etc are happening automatically without any customer involvement.
36
+
1. Updates to the UI, build engine, integrations etc., are happening automatically without any customer involvement.
37
37
1. Actual builds are happening in the customer premises under fully controlled conditions.
38
38
1. The Codefresh runner is fully automated. It handles volume claims and build scheduling on its own within the Kubernetes cluster it is placed.
39
39
40
40
Regarding security of services:
41
41
42
42
1. Pipelines can run in behind-the-firewall clusters with internal services.
43
-
1. Pipelines can use integrations (such asdocker registries) that are private and secure.
43
+
1. Pipelines can use integrations (such asDocker registries) that are private and secure.
44
44
1. Source code does not ever leave the customer premises.
45
45
46
46
Regarding firewall security:
47
47
48
-
1. Communication between the Codefresh runner and CodefreshSAAS is uni-directional. The runner is polling the Codefresh platform for jobs.
49
-
1. Communication between the Codefresh runner and CodefreshSAAS is only outgoing. The CodefreshSAAS never connects to the customer network. No ports need to be open in the customer firewall for the runner to work.
50
-
1. The Codefresh runner is fully open-source, so its code can by scrutinized by any stakeholder.
48
+
1. Communication between the Codefresh runner and CodefreshSaaS is uni-directional. The runner is polling the Codefresh platform for jobs.
49
+
1. Communication between the Codefresh runner and CodefreshSaaS is only outgoing. The CodefreshSaaS never connects to the customer network. No ports need to be open in the customer firewall for the runner to work.
50
+
1. The Codefresh runner is fully open-sourced, so its code can by scrutinized by any stakeholder.
51
51
52
52
53
53
54
54
##Using Secure services in your pipelines
55
55
56
-
First make sure that you have installed the[Codefresh runner]({{site.baseurl}}/docs/administration/codefresh-runner/) on your own infrastructure (i.e. your private Kubernetes cluster).
56
+
First make sure that you have installed the[Codefresh runner]({{site.baseurl}}/docs/administration/codefresh-runner/) on your own infrastructure (i.e., your private Kubernetes cluster).
57
57
58
-
All pipelines that are executed in the private Kubernetes cluster have access to all other internal services that are network reachable. It is therefore very easy to create pipelines that
58
+
All pipelines that are executed in the private Kubernetes cluster have access to all other internal services that are network reachable. It is therefore very easy to create pipelines that:
59
59
60
60
* Use databases internal to the company
61
61
* Run integration tests against services internal to the company
62
62
* Launch[compositions]({{site.baseurl}}/docs/codefresh-yaml/steps/composition/) that communicate with other secure services
63
-
* Upload and download artifacts from a private artifact repository (e.g. Nexus or Artifactory)
63
+
* Upload and download artifacts from a private artifact repository (e.g., Nexus or Artifactory)
64
64
* Deploy to any other cluster accessible in the secure network
65
-
* Create infrastructure such as machines, load balancers, auto-scaling groups etc
65
+
* Create infrastructure such as machines, load balancers, auto-scaling groups etc.
66
66
67
-
Any of these pipelines will work out the box and no extra configuration is needed. In all cases
67
+
Any of these pipelines will work out the box and no extra configuration is needed. In all cases,
68
68
all data will stay with the private local network and will never exit the firewall.
69
69
70
70
>Notice that[long running compositions]({{site.baseurl}}/docs/codefresh-yaml/steps/composition/) (preview test environments) are not yet available via the Codefresh
>Note that this page is now describing the legacy hybrid mode. For the new versionlookat[behind-the-firewall]({{site.baseurl}}/docs/administration/behind-the-firewall/) documentation.
12
+
>Note that this page is now describing the legacy hybrid mode. For the new versionread moreat[behind-the-firewall]({{site.baseurl}}/docs/administration/behind-the-firewall/).
13
13
14
14
Codefresh lets you use your own host as a node to run/build containers.
15
15
16
16
{:start="1"}
17
-
1.go to yourAccount Configuration, by clicking on*Account Settings* on the left sidebar
17
+
1.Go to youraccount configurations by clicking on*Account Settings* on the left sidebar.
18
18
19
19
{:start="2"}
20
20
2. Select*Nodes* from the left sidebar.
21
21
22
-
>Hybrid nodes are only available to enterprise customers.[Contact us](https://codefresh.io/contact-sales/)us to enable this feature.
22
+
>Hybrid nodes are only available to enterprise customers.[Contact us](https://codefresh.io/contact-sales/) us to enable this feature.
23
23
24
24
{% include image.html
25
25
lightbox="true"
@@ -31,7 +31,7 @@ Codefresh lets you use your own host as a node to run/build containers.
31
31
%}
32
32
33
33
{:start="3"}
34
-
3. Click onthe button*ADD YOUR NODE*
34
+
3. Click on*ADD YOUR NODE*
35
35
Codefresh lets you use your own host as a build agent to run/build containers. In order to do this, you have to first install the Codefresh Agent on your machine.
Copy file name to clipboardExpand all lines: _docs/administration/codefresh-on-prem.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title:"Codefresh On-premises Installation"
3
-
description:"Use the Kubernetes Codefresh Installer to install the Codefresh platformon-premises"
2
+
title:"Codefresh On-Premise Installation"
3
+
description:"Use the Kubernetes Codefresh Installer to install the CodefreshOn-Premiseplatform"
4
4
group:administration
5
5
redirect_from:
6
6
-/docs/enterprise/codefresh-on-prem/
@@ -9,7 +9,7 @@ toc: true
9
9
10
10
##Introduction
11
11
12
-
This manual will guide you through the installation of the Codefresh platform on yourOn-prem environment. This manual is intended to cover all aspects of installation, upgrading, and maintenance. Please read this manual carefully before installing Codefresh.
12
+
This manual will guide you through the installation of the Codefresh platform on youron-prem environment. This manual is intended to cover all aspects of installation, upgrading, and maintenance. Please read this manual carefully before installing Codefresh.
13
13
14
14
[kcfi](https://github.com/codefresh-io/kcfi) (the Kubernetes Codefresh Installer) is a one-stop-shop for this purpose. Even though Codefresh offers multiple tools to install components,`kcfi` aggregates all of them into a single tool.
15
15
@@ -29,9 +29,9 @@ The `kcfi` tool supports the following operating systems:
29
29
30
30
Codefresh supports the following Git providers:
31
31
32
-
- GitHub: SaaS and on-premises versions
32
+
- GitHub: SaaS and on-premise versions
33
33
- Bitbucket: SaaS and Bitbucket server (on-premises) 5.4.0 version and above
34
-
- GitLab: SaaS and on-premises versions (API v4 only)
34
+
- GitLab: SaaS and on-premise versions (API v4 only)
35
35
36
36
##Prerequisites
37
37
@@ -44,7 +44,7 @@ Codefresh supports the following Git providers:
44
44
- Default app credentials (provided by Codefresh)
45
45
- Storage size allocated for Codefresh persisted services - described in the storage section
46
46
47
-
Codefresh will need outbound connection to the Internet for the following services:
47
+
Codefresh will needanoutbound connection to the Internet for the following services:
48
48
49
49
- GCR - pulling platform images
50
50
- Dockerhub - pulling pipeline images
@@ -55,7 +55,7 @@ Codefresh has some security assumptions about the Kubernetes cluster it is insta
55
55
56
56
###RBAC for Codefresh
57
57
58
-
The Codefresh installer should be run with a Kubernetes RBAC role that allows object creation in a single namespace. If, by corporate policy, you do not allow the creation of service accounts or roles, a Kubernetes administrator will need to create the role,serviceAccount, and binding as shown below. Users with the`codefresh-app` role do not have the ability to create other roles orroleBindings.
58
+
The Codefresh installer should be run with a Kubernetes RBAC role that allows object creation in a single namespace. If, by corporate policy, you do not allow the creation of service accounts or roles, a Kubernetes administrator will need to create the role,service account, and binding as shown below. Users with the`codefresh-app` role do not have the ability to create other roles orrole bindings.
59
59
60
60
`codefresh-app-service-account.yaml`
61
61
```yaml
@@ -173,7 +173,7 @@ You will also need to modify the `config.yaml` for `kcfi` by setting `skipCRD: t
173
173
Download the binary from [GitHub](https://github.com/codefresh-io/kcfi/releases).
174
174
>Note: Darwin is for OSX
175
175
176
-
Extract thefile you justdownloaded.
176
+
Extract the downloaded file.
177
177
178
178
Copy the file to your $PATH, i.e. `cp /path/to/kcfi /usr/local/bin`
179
179
@@ -191,7 +191,7 @@ kubectl config use-context my-cluster-name # set the default context to my-clu
191
191
kubectl config current-context # verify the current-context`
192
192
```
193
193
194
-
### Step 2 -- Prepare the Codefresh Platforminstallation
194
+
### Step 2 -- Prepare the Codefresh PlatformInstallation