Profile cover photo
Profile photo
Thilina Piyasundara
199 followers -
I'm Thilina Piyasundara works as a systems engineer. Interest in free and open source products.
I'm Thilina Piyasundara works as a systems engineer. Interest in free and open source products.

199 followers
About
Posts

Post has attachment
Run a Mongo cluster with authentication on kubernetes using StatefulSets.
With StatefulSets running a mongo cluster with persistent storage is easy. Kubernetes blog post  in [1] explains how to do that. But when we try to enable authentication there is a small problem with the above solution.
Problem is we need to start the clus...
Add a comment...

Post has attachment
Watch Kubernetes pod events stop/start
Run kube proxy to use curl without authentication kubectl proxy Run the curl to watch the events and filter it with jq for pod starts and stops. curl -s 127.0.0.1:8001/api/v1/watch/events | jq --raw-output \
'if .object.reason == "Started" then . elif .obje...
Add a comment...

Post has attachment
Generate a SANs certificate
We are going to use openssl to generate a certificate with subject alternative names. When we use SANs in a certificate we can use the same certificate to front several websites with different domain names. First we need to generate a private key. Since we ...
Add a comment...

Post has attachment
Running your spring-boot app in Bitesize
First of all we have to have the spring-boot code in a git(svn) repo. I have create a sample spring-boot application using maven archetypes. You can find the code in; https://github.com/thilinapiy/SpringBoot Compile the code and generate the package using f...
Add a comment...

Post has attachment
Moving you Spring-Boot app to Bitesize
First of all we have to have the Spring-Boot code in a git(svn) repo. I have create a sample spring-boot application using maven archetypes. You can find the code in; https://github.com/thilinapiy/SpringBoot Compile the code and generate the package using f...
Add a comment...

Post has attachment
Granting dbadmin privileges to a user in MongoDB cluster
We need to grant 'dbadmin' privileges to a user called 'store_db_user' to their mondo database in a 4 node cluster. First we need to connect to the primary database of the cluster with super. # mongo -u supperuser -p password -h node1.mongo.local If you con...
Add a comment...

Post has attachment
Running your WordPress blog on WSO2 App Cloud
WSO2 App Cloud is now supporting Docker base PHP applications. In this blog post I will describe how to install a WordPress blog in this environment. In order to setup a WordPress environment we need to have two things; Web server with PHP support MySQL dat...
Add a comment...

Post has attachment
Add a comment...

Post has attachment
Add Let's Encrypt free SSL certificates to WSO2 API Cloud
Let's encrypt is a free and open certificate authority runs for the public benefit. This service is provided by the Internet Security Research Group and there are lots of companies working with them to make the Internet secure. People who have a domain name...
Add a comment...

Post has shared content
PhotoPhotoPhotoPhotoPhoto
WSO2 Robotics Hackathon 2015
125 Photos - View album
Add a comment...
Wait while more posts are being loaded