-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #237 from c6o/doc-improvements
doc improvements
- Loading branch information
Showing
47 changed files
with
388 additions
and
427 deletions.
There are no files selected for viewing
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"label": "Concepts", | ||
"position": 5, | ||
"link": { | ||
"type": "generated-index" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
# VPNs and Traffic Shaping | ||
|
||
In many ways, Codezero works like a Virtual Private Network (VPN). Unlike a VPN however, Codezero only handles traffic related to services in a Teamspace. | ||
You can use a VPN while using Codezero and both will coexist without interfering with each other. | ||
|
||
Codezero works by creating Virtual Interfaces for services running in the Teamspace and maintains entries in the `/etc/hosts` for these interfaces. | ||
|
||
Codezero adds DNS entries to the `/etc/hosts` file that is part of MacOS and most Linux implementations. | ||
On Windows, Codezero modifies the appropriate Windows hosts file which in turn, propagates entries for the _Windows Subsystem for Linux_. | ||
|
||
When Codezero's Daemon is running, you will see entries in `/etc/hosts/` file, between the following markers | ||
|
||
```text | ||
### | ||
# CODEZERO | ||
# This section is managed by Codezero. Do not edit manually. | ||
... | ||
... | ||
# /CODEZERO | ||
### | ||
``` | ||
|
||
As you Consume in-cluster services, you will see entries in this section appear, like below: | ||
|
||
```text | ||
127.72.0.0 sample-project-leaf | ||
127.72.0.0 sample-project-leaf.sample-project | ||
127.72.0.0 sample-project-leaf.sample-project.svc | ||
127.72.0.0 sample-project-leaf.sample-project.svc.cluster.local | ||
``` | ||
|
||
These entries help map your in-cluster services to local names and allow you to work with remote services as though they are local. | ||
|
||
:::caution | ||
Do not modify the markers or the content between the markers. This will cause Codezero to malfunction! | ||
|
||
Currently, Codezero maps ports to the 127.72.0.0/14 range but local apps that bind to 0.0.0.0 or localhost can encounter port conflicts as they attempt to bind to all local interfaces. Also, please note that the local Codezero IP range above is subject to change. | ||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"label": "Getting Started", | ||
"position": 2, | ||
"link": { | ||
"type": "doc", | ||
"id": "getting-started/index" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.