Giter VIP home page Giter VIP logo

examples's Introduction

DC/OS Examples

This repository contains examples of how to install and use DC/OS services.

If you want to contribute your own example, please fork this repo, add the example and send in a pull request.

Note that there is a list of planned examples available, so feel free to pick one of those or, if you don't see your favourite there, add it.

Got any questions? Please reach out Ravi Yadav on the DC/OS Community Slack (@ravi.mesosphere) or via mail ([email protected]).

examples's People

Contributors

cgbaker avatar colin-msphere avatar debangshuk avatar doertedev-instana avatar dreambeam avatar fabianbaier avatar fersantxez avatar gisjedi avatar gouravshenoy avatar jainishshah17 avatar joerg84 avatar jsilberm avatar julienstroheker avatar luhkevin avatar mhausenblas avatar mike-mcelreath avatar minyk avatar ohrobin avatar ondrej-smola avatar pleia2 avatar realmbgl avatar ryadav88 avatar siggy avatar somnathmesos avatar ssk2 avatar swoehrl-mw avatar thakkaryash94 avatar timvaillancourt avatar tobilg avatar umcsdon 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  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  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

examples's Issues

Can't deploy Kong on DC/OS with HOST networking when listening on port 80

I am attempting to have kong listen on port 80 instead of 8000, and I updated the /usr/local/kong/nginx-kong.conf and Dockerfile to rebuilt the image:
server {
server_name kong;
listen 0.0.0.0:80;
……
}
Dockerfile:
FROM kong:0.10.3
COPY nginx-kong.conf /usr/local/kong/nginx-kong.conf
EXPOSE 80 8443 8001 7946

DC/OS network definition:

NETWORK TYPE: HOST NAME PROTOCOL HOST PORT LOAD BALANCED ADDRESS
kong tcp 80 kong.marathon.l4lb.thisdcos.directory:80  
kong-admin tcp 8001 kong-admin.marathon.l4lb.thisdcos.directory:8001  
kong-ssl tcp 8443 Not Enabled  
kong-admin-ssl tcp 8444 kong-admin-ssl.marathon.l4lb.thisdcos.directory:8444  
kong-serf-tcp-udp udp, tcp 7946 Not Enabled  

Package [gitlab-runner] not found

When following the example of gitlab-runner and trying to test it with DCOS 1.9, It gives an error.
Steps that can be taken to reproduce the issue:

  1. Create an options.json with the following content:
    { "service": { "name": "gitlab-runner-shell" }, "gitlab": { "service-name": "gitlab.marathon.mesos", "registration-token": "Your_Registration-Token from GitLab" }, "gitlab-runner": { "executor": "shell", "tag-list": "build-as-docker,build-in-shell", "concurrent-builds": 4 } }
  2. Run the following code from the terminal:
    dcos package install --options=options.json gitlab-runner
  3. Following is the output:
    Package [gitlab-runner] not found
  4. Also tried with the following options.json:
    { "service": { "name": "gitlab-runner-docker" }, "gitlab": { "service-name": "gitlab.marathon.mesos", "registration-token": "b_EsjLKVyXahggrFzZHr" }, "gitlab-runner": { "executor": "docker", "tag-list": "build-in-docker,docker", "concurrent-builds": 4, "docker-default-image": "node:6-wheezy", "docker-insecure-registry": "myregistry.mydomain.mytld" } }
  5. It has the same result.

Remove colon character from filenames in ceph examples

Colon in file names is forbidden and causes a lot of issues on Windows.
Files are not visible in file explorer, git is unable to work with them.

Files:
ceph/1.9/img/img:configure_secrets_in_exhibitor.png
ceph/1.8/img/img:configure_secrets_in_exhibitor.png

registry doesn't use local persistent volume

Even if persistence is enabled during the installation, it won't take effect. The final service definition will end up with the following section:

...
  "env": {
        "STORAGE_PATH": "/var/lib/registry"
...

Which is wrong for two reasons:

  1. The name of the environment variable changed to REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY when Docker developed a new version of the registry.
  2. The value should point to the directory inside the local persistent volume directory which is inside the Mesos sandbox directory.

The section of the service definition above should look like:

...
  "env": {
        "REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY": "/mnt/mesos/sandbox/var/registry"
...

Thank you!
=Andrey

Flink Troubleshooting Documentation Required

https://github.com/dcos/examples/tree/master/flink/1.9

I'm Running DC/OS on DigitalOcean and experiencing the same error as mentioned in Troubleshooting under "AWS Specific Config".

Could you please provide a solution for DigitalOcean?

This is what I'm getting on DigitalOcean, same as AWS:

2017-07-29 17:10:05,553 ERROR org.apache.flink.mesos.runtime.clusterframework.MesosApplicationMasterRunner  - Mesos JobManager initialization failed
java.net.UnknownHostException: agentname: agentname: Name or service not known
    at java.net.InetAddress.getLocalHost(InetAddress.java:1505)

Nginx example output is incorrect.

The example says "You should see a webpage similar to this: Welcome to DC/OS....".
In reality the default nginx page is shown. From looking at the code this looks correct, please either change package or update example.

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.