All Projects → linkerd → website

linkerd / website

Licence: Apache-2.0 License
Source code for the linkerd.io website

Programming Languages

javascript
184084 projects - #8 most used programming language
Sass
350 projects
HTML
75241 projects
SCSS
7915 projects
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to website

Linkerd2
Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.
Stars: ✭ 7,887 (+28067.86%)
Mutual labels:  service-mesh, linkerd
service-mesh-labs
Lab scenarios for learning how to service mesh.
Stars: ✭ 22 (-21.43%)
Mutual labels:  service-mesh, linkerd
ecs-mesh-workshop
This handy workshop help the customers to quickly launch ECS with service mesh support on top of mixed type of instance in all commercial regions (include China), and also provides hands-on tutorials with best practices. It can be customized easily as per need.
Stars: ✭ 17 (-39.29%)
Mutual labels:  service-mesh, linkerd
Linkerd
Old repo for Linkerd 1.x. See the linkerd2 repo for Linkerd 2.x.
Stars: ✭ 5,382 (+19121.43%)
Mutual labels:  service-mesh, linkerd
meshery-operator
The service mesh operator.
Stars: ✭ 41 (+46.43%)
Mutual labels:  service-mesh, linkerd
meshery
Meshery, the cloud native manager
Stars: ✭ 1,587 (+5567.86%)
Mutual labels:  service-mesh, linkerd
learn-layer5
A sample application for learning how to service mesh and for validating SMI conformance
Stars: ✭ 43 (+53.57%)
Mutual labels:  service-mesh, linkerd
meshery-traefik-mesh
Meshery adapter for Maesh
Stars: ✭ 23 (-17.86%)
Mutual labels:  service-mesh
meshem
A simple implementation for Envoy's control plane
Stars: ✭ 22 (-21.43%)
Mutual labels:  service-mesh
kserve
Serverless Inferencing on Kubernetes
Stars: ✭ 1,621 (+5689.29%)
Mutual labels:  service-mesh
micro-mesh
gRPC微服务架构实践
Stars: ✭ 52 (+85.71%)
Mutual labels:  service-mesh
meshery-octarine
Meshery adapter for Octarine
Stars: ✭ 22 (-21.43%)
Mutual labels:  service-mesh
image-hub
Image Hub is a sample application for exploring WebAssembly modules used as Envoy filters.
Stars: ✭ 56 (+100%)
Mutual labels:  service-mesh
Kubernetes-and-Cloud-Native-Associate-KCNA
Useful notes for the KCNA - Kubernetes and Cloud Native Associate
Stars: ✭ 162 (+478.57%)
Mutual labels:  service-mesh
learn-consul-docker
Docker Compose quick starts for Consul features.
Stars: ✭ 51 (+82.14%)
Mutual labels:  service-mesh
meshsync
MeshSync one of a family of custom controllers within Meshery Operator.
Stars: ✭ 19 (-32.14%)
Mutual labels:  service-mesh
meshery-consul
Meshery adapter for Consul
Stars: ✭ 50 (+78.57%)
Mutual labels:  service-mesh
apiclarity
Reconstruct Open API Specifications from real-time workload traffic seamlessly.
Stars: ✭ 290 (+935.71%)
Mutual labels:  service-mesh
aegis-host
This is the ÆGIS federated application host. Federated components are independently deployable, written by multiple teams in multiple languages, and loaded from multiple repos and network locations at runtime, yet capable of running together in a single process or as distributed components in the ÆGIS application fabric.
Stars: ✭ 197 (+603.57%)
Mutual labels:  service-mesh
smi-sdk-go
Service Mesh Interface SDK for Go
Stars: ✭ 64 (+128.57%)
Mutual labels:  service-mesh

linkerd.io

Source code for the linkerd.io website.

General development instructions

  1. Run the linter and checker:

    docker run \
       --mount type=bind,source="$(pwd)",target=/website --workdir=/website \
       buoyantio/website-builder:v1.3.3 sh -c "make lint check"
  2. Install Hugo 0.74.3 to run the site locally:

    For Mac users:

    brew install hugo

    For Linux users, download the extended release of Hugo from its GitHub release page.

  3. From the root /website directory, build site and run Hugo in development mode:

    hugo serve -s linkerd.io

You should see the site on localhost:1313, and it should reload automatically upon file write.

To change the way the site looks

CSS/HTML

Images and static CSS and JavaScript files are located in the static directory. These files are served as-is. Some of the site's CSS, however, is generated from Sass sources in assets/scss by Hugo. When you change those files, Hugo updates the CSS for the site automatically and refreshes the page.

The files in layouts/ are the HTML for the site (including layout/index.html for the front page.) These files are Go templates with a couple extra Hugo goodies thrown in. See the hugo documentation for details.

If you're running hugo server (see above) then updates should be reflected in your browser window via some fancy javascript magic.

run.linkerd.io

Install scripts for linkerd as well as demo applications such as emojivoto.

versioncheck.linkerd.io

Location for existing installations to check and see if they're up to date or not.

To build and serve against the latest Linkerd2 release:

make serve-versioncheck.linkerd.io

api.linkerd.io

API docs for linkerd1.

Note: this does not deploy by default as part of make publish. It needs to be released separately.

Updating docs from Linkerd

See slate documentation ./build will grab whatever's on main from slate-linkerd and add it to the public dir.

Creating a new release

  1. From the linkerd.io directory, run:

    ./release-next-version <new version>
  2. Run ./release-next-version <release-tag> <new version> in slate-linkerd

  3. Then check locally

    make serve-api.linkerd.io
  4. Finally push to production

    make deploy-api.linkerd.io
    • NB: If you're running macOS 10.14+ with ruby installed by XCode, you may have to set the SDKROOT in order to install json 1.8.3 which is a middleman dependency.

Publishing

  1. Make sure your gcloud tooling is up to date:

    gcloud components update
    gcloud auth login
  2. Do a dry run and make sure everything works:

    make publish DRY_RUN=true
  3. Update the website:

    make publish

Notes

  • This does not update api.linkerd.io, see the section for that specifically to update it.

  • There is no caching in front of run.linkerd.io and versioncheck.linkerd.io. You should see updates there immediately.

  • There is caching for non-html pages in front of linkerd.io. If you're updating a non-html page for linkerd.io, it might be worth flushing the cache (cloudflare) and waiting awhile.

If you have to create a new bucket

You probably won't have to do this, but if you do, don't forget to do this stuff too to set up the bucket for public serving:

gsutil defacl ch -u AllUsers:R gs://bucketname
gsutil web set -m index.html -e 404.html gs://bucketname

Verifying cache updates

Turn off all caching on all files:

gsutil -m setmeta -r -h "Cache-Control: no-cache, no-store, must-revalidate" gs://linkerd.io/

Turn caching back on:

gsutil -m setmeta -r -h "Cache-Control:" gs://linkerd.io/

Enable access logs (should only need to be run once)

gsutil logging set on -b gs://linkerd2-access-logs -o AccessLog gs://linkerd.io

Get access logs

# note: this will download ALL logs. probably not what you want.
gsutil -m rsync gs://linkerd2-access-logs logs/

Set CORS policy (should only need to be run once)

gsutil cors set versioncheck.linkerd.io.cors.json gs://versioncheck.linkerd.io
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].