GithubHelp home page GithubHelp logo

cloudposse / docs Goto Github PK

View Code? Open in Web Editor NEW
64.0 64.0 24.0 33.15 MB

๐Ÿ“˜ SweetOps documentation for the Cloud Posse way of doing Infrastructure as Code. https://docs.cloudposse.com

Home Page: https://docs.cloudposse.com

License: Other

CSS 11.55% JavaScript 23.68% Makefile 1.05% Shell 1.81% Dockerfile 0.30% Python 24.96% MDX 27.00% TypeScript 9.65%
aws cloud-architecture developer-documentation developer-portal helm helm-charts helmfile hugo k8s kubectl kubernetes markdown terraform

docs's People

Contributors

aknysh avatar alebabai avatar benbentwo avatar dependabot[bot] avatar drnickiw avatar dudymas avatar dylanbannon avatar finnsky avatar goruha avatar gowiem avatar gruggiero avatar hairyhenderson avatar joshmyers avatar korenyoni avatar max-lobur avatar milldr avatar nuru avatar osterman avatar sarkis avatar srhopkins avatar tamsky avatar vadim-hleif avatar yonch avatar zdmytriv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

Document Common CI/CD Timeout Error

what

"chart-repo" has been added to your repositories                                                                                
exec: helm repo update --kube-context us-west-2-staging-example-co                                                                
Hang tight while we grab the latest from your chart repositories...                                                             
...Successfully got an update from the "cloudposse-incubator" chart repository                                                  
...Successfully got an update from the "stable" chart repository                                                                
...Successfully got an update from the "chart-repo" chart repository                                                            
Update Complete. โŽˆ Happy Helming!โŽˆ                                                                                              
exec: helm upgrade --install ch38827-app chart-repo/app --version 1.0.0-sha.1dd6919 --namespace ch38827 --values /code
fresh/volume/app/config/ch38827-app.yaml --wait --timeout=600 --recreate-pods --force --reset-values --kube
-context us-west-2-staging-example-co                                                                                             
Error: UPGRADE FAILED: timed out waiting for the condition                                                                      
err: exit status 1                                                                                                              
[SYSTEM] Error: Failed to run freestyle step: Deploy app with helmfile; caused by NonZeroExitCodeError: Container for step 
title: Deploy app with helmfile, step type: freestyle, operation: Freestyle step failed with exit code: 1                  

why

  • in my experience, that always happens when a pod is failing
  • basically helm --wait will wait until a successful rollout
  • since the pod is failing, it's never successful, so it ends up failing after the timeout window (edited)
  • start by inspecting the pods status / logs to see what's going on

Add AMP & Schema.org

Document Secrets Management

what

  • Ability to view or change secrets?
  • How do we audit access and changes to secrets?
  • Updating chamber secrets on console
  • Updating chamber secrets on web
  • Updating charts that use secrets

See #20 (by @Nuru)

Implement Algolia Search

what

  • Implement algolia instant search like the one on readme.io

why

  • Default docdock search is insufficient

Cheat Sheet

what

  • Document a cheat sheet for things like where we are storing secrets and how to change them, how to scale up and down or tweak auto-scaling, where our dashboards are, what the various repos you created are for

(requested by @Nuru from PopChest)

Duplicate Page Titles

what

  • Google Webmaster Tools says that our titles are not unique

why

  • I think our theme might not be correctly settign the <title/> tag for the pages

image

Document Goofys Usage with Kubernetes

what

  • Document how to use goofys as a sidecar container in kubernetes

why

  • Useful for certain kinds of services that simple object storage but only work with POSIX-style filesystems

example

apiVersion: v1
kind: Pod
metadata:
  name: example
spec:
  restartPolicy: Never
  imagePullSecrets:
    - name: dockercfg
  volumes:
  - name: s3-mount
    emptyDir: {}

  containers:
  - name: nginx-container
    image: nginx
    volumeMounts:
    - mountPath: /data:slave
      name: s3-mount
      mountPropagation: Bidirectional      

  - name: goofys
    env:
    - name: MOUNT_DIR
      value: /vortex-artifacts
    - name: BUCKET
      value: eg-example-data
    - name: REGION
      value: us-west-2
    - name: DIR_MODE
      value: "0777"
    - name: FILE_MODE
      value: "0777"
    image: cloudposse/goofys
    imagePullPolicy: Always
    resources: {}
    securityContext:
      privileged: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /data:shared
      name: s3-mount
      mountPropagation: Bidirectional

GitHub Rate Limits Fail Builds

what

  • Due to our heavy dependency on assets on GitHub, we're (probably) getting rate limited

image

why

  • I think it's because the size of our documentation has increased so that now we reached the threshold

Only Deploy on Tagged Releases

what

  • Do not deploy to S3 for every merge to master

why

  • This will trigger algolia reindexing
  • Not all changes (e.g. Updating README.md) require redeployment

CI/CD of Documentation Portal

what

  • Create docs project in prod.cloudposse.org
  • Use CodeFresh pipeline
    • make build
    • aws s3 sync --acl public-read --delete --exact-timestamps public/ s3://...../
  • Update badge in README.md

why

  • Publish documentation

Add Support for Redirect Front Matter

what

  • Add a redirect front matter parameter

why

  • Support redirecting offsite. This is different that alias

example

<!DOCTYPE html>
<html>
  <head>
    <title>https://someothersite.com/posts/my-intended-url</title>
    <link rel="canonical" href="https://someothersite.com/posts/my-intended-url"/>
    <meta name="robots" content="noindex">
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta http-equiv="refresh" content="0; url=https://someothersite.com/posts/my-intended-url"/>
  </head>
</html>

related

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.