Coder Social home page Coder Social logo

vmware-archive / tutorials Goto Github PK

View Code? Open in Web Editor NEW
63.0 12.0 102.0 37.23 MB

License: BSD 2-Clause "Simplified" License

Go 0.98% Python 12.80% JavaScript 0.42% HTML 0.47% PHP 59.52% Shell 1.50% Rust 0.47% Java 14.57% Dockerfile 2.76% Mustache 6.51%
bitnami docker kubernetes tutorials kubeless webdev development

tutorials's Introduction

Bitnami Tutorials

Here you can find code related to Bitnami's tutorials.

How to use

Each tutorial is identified by a keyword in order to avoid using long directory names.

  1. Clone this repository: git clone https://github.com/bitnami/tutorials.
  2. Navigate to the directory where the code lives. See [README.md] for the index.
  3. Follow the steps in the corresponding tutorial to use the code.

Index of articles

Dir Title Tutorial URL
kubeless Get Started with Serverless Computing on Kubernetes with Minikube and Kubeless https://docs.bitnami.com/kubernetes/how-to/get-started-serverless-computing-kubeless/
simple-node-app Deploy a Custom Node.js Application using Bitnami Containers https://docs.bitnami.com/containers/how-to/deploy-custom-nodejs-app-bitnami-containers/
go-k8s Deploy A Go Application On Kubernetes With Helm https://docs.bitnami.com/kubernetes/how-to/deploy-go-application-kubernetes-helm/
phpfpm-k8s Deploy A PHP Application On Kubernetes With Helm https://docs.bitnami.com/kubernetes/how-to/deploy-php-application-kubernetes-helm/
rust-k8s Deploy A Rust Application On Kubernetes With Helm https://docs.bitnami.com/kubernetes/how-to/deploy-rust-application-kubernetes-helm/
swift-k8s Deploy A Swift Application On Kubernetes With Helm https://docs.bitnami.com/kubernetes/how-to/deploy-swift-application-kubernetes-helm/
multistage-docker Optimize Your Docker Images with Multi-Stage Builds and Bitnami Containers https://docs.bitnami.com/containers/how-to/optimize-docker-images-multistage-builds/
java-stacksmith Package and Deploy Applications on AWS https://stacksmith.bitnami.com/support/quickstart-aws/
spring-boot-app Deploy locally a Spring Boot application using Bitnami Containers https://docs.bitnami.com/containers/how-to/deploy-locally-spring-boot-application-docker/

tutorials's People

Contributors

atomatt avatar beltran-rubo avatar carrodher avatar dani8art avatar jbianquetti-nami avatar koyan avatar multi-io avatar nomisbeme avatar prydonius avatar rafariossaa avatar raquel-campuzano avatar vikram-bitnami avatar vmwghbot 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

Watchers

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

tutorials's Issues

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"

When i run bellow command
helm install phpfpm . --set mariadb.mariadbRootPassword=DB_ROOTPASSWORD,mariadb.mariadbUser=DB_USERNAME,mariadb.mariadbPassword=DB_USERPASSWORD,mariadb.mariadbDatabase=DB_NAME

Output
Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"

I have changed in Deployment.yaml and ingress.yaml
apiVersion: extensions/v1beta1 to apiVersion: apps/v1

Again run above command still getting error.

Error: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1", error validating "": error validating data: ValidationError(Deployment.spec): missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec]

Screen Shot 2020-03-31 at 7 17 37 PM

Tutorial steps are not valid for reproduction

I'm trying to learn how to use helm charts, but the information in the tutorial is misleading. I tried different ways to install helm chart from the repository but it doesn't work for me. It would be great to have an extra explanation where you get the required RELEASE_NAME and path for this step.
image

phpfpm static files access

Hi i use this exmple that delpoy self service which contain links on static files into the index.php. But my static files can't load

  • index.php
  <!-- Bootstrap Core CSS -->
    <link href="./css/bootstrap.min.css" rel="stylesheet">
  • nginx log
nginx_1_6e54db375ab5 | 2018/11/22 20:10:15 [error] 57#0: *5 open() "/app/js/jqBootstrapValidation.js" failed (2: No such file or directory), client: 172.18.0.1, server: myapp.com, request: "GET /js/jqBootstrapValidation.js HTTP/1.1", host: "localhost", referrer: "http://localhost/index.php"

java-k8s Dockerfile using legacy Debian Jessie backports

I was following the Deploy A Java Application On Kubernetes With Helm tutorial and encountered the following error message when running docker build build-app -t jhipster

Step 3/6 : RUN echo "deb http://http.debian.net/debian jessie-backports main" >> /etc/apt/sources.list &&     install_packages ca-certificates-java/jessie-backports openjdk-8-jdk-headless bzip2
 ---> Running in 9a2993d6777d
W: Failed to fetch http://http.debian.net/debian/dists/jessie-backports/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
apt failed, retrying
W: Failed to fetch http://http.debian.net/debian/dists/jessie-backports/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
apt failed, retrying
W: Failed to fetch http://http.debian.net/debian/dists/jessie-backports/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c echo "deb http://http.debian.net/debian jessie-backports main" >> /etc/apt/sources.list &&     install_packages ca-certificates-java/jessie-backports openjdk-8-jdk-headless bzip2' returned a non-zero code: 100

It seems that the jessie-backports source was recently removed. I then tried using http://archive.debian.org/debian as the source but got this error:

Step 3/6 : RUN echo "deb http://archive.debian.org/debian jessie-backports main" >> /etc/apt/sources.list &&     install_packages ca-certificates-java/jessie-backports openjdk-8-jdk-headless bzip2
 ---> Running in 2b914bb08812
E: Release file for http://archive.debian.org/debian/dists/jessie-backports/InRelease is expired (invalid since 110d 2h 21min 18s). Updates for this repository will not be applied.
apt failed, retrying
E: Release file for http://archive.debian.org/debian/dists/jessie-backports/InRelease is expired (invalid since 110d 2h 21min 23s). Updates for this repository will not be applied.
apt failed, retrying
E: Release file for http://archive.debian.org/debian/dists/jessie-backports/InRelease is expired (invalid since 110d 2h 21min 28s). Updates for this repository will not be applied.
The command '/bin/sh -c echo "deb http://archive.debian.org/debian jessie-backports main" >> /etc/apt/sources.list &&     install_packages ca-certificates-java/jessie-backports openjdk-8-jdk-headless bzip2' returned a non-zero code: 100

I also tried using newer stretch-backports but got this error:

Step 3/6 : RUN echo "deb http://http.debian.net/debian stretch-backports main" >> /etc/apt/sources.list &&     install_packages ca-certificates-java/stretch-backports openjdk-8-jdk-headless bzip2
 ---> Running in 138ec0113c33
Reading package lists...
Building dependency tree...
Reading state information...
Package openjdk-8-jdk-headless is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

apt failed, retrying
E: Release 'stretch-backports' for 'ca-certificates-java' was not found
E: Package 'openjdk-8-jdk-headless' has no installation candidate
Reading package lists...
Building dependency tree...
Reading state information...
Package openjdk-8-jdk-headless is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Release 'stretch-backports' for 'ca-certificates-java' was not found
E: Package 'openjdk-8-jdk-headless' has no installation candidate
apt failed, retrying
Reading package lists...
Building dependency tree...
Reading state information...
Package openjdk-8-jdk-headless is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Release 'stretch-backports' for 'ca-certificates-java' was not found
E: Package 'openjdk-8-jdk-headless' has no installation candidate
The command '/bin/sh -c echo "deb http://http.debian.net/debian stretch-backports main" >> /etc/apt/sources.list &&     install_packages ca-certificates-java/stretch-backports openjdk-8-jdk-headless bzip2' returned a non-zero code: 100

So I guess there some related changes that need to be made.

phpfpm tutorial: Nginx error

When deploying the helm chart with:

It was failing with the error:

nginx 11:21:11.85 ERROR ==> Custom server blocks files were found inside '/bitnami/nginx/conf/vhosts'. This configuration is not supported anymore. Please mount your custom server blocks config files at '/opt/bitnami/nginx/conf/server_blocks' instead.

A solution is suggested at the PR: #26

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.