Updates from July, 2019 Toggle Comment Threads | Keyboard Shortcuts

  • Wang 22:10 on 2019-07-29 Permalink | Reply
    Tags: ,   

    Pivotal – Create Customer Value Like FAANG: Continuous Delivery via Spinnaker

     
  • Wang 21:53 on 2019-07-25 Permalink | Reply
    Tags: ,   

    Configure prompt in your Spinnaker pipeline 

    When you deploy your application, there might be some steps need your confirmation to ensure this stage is ok to proceed, Spinnaker provide “Judgment Configuration” mechanism to implement this.

    When you add stage in your pipeline, you can select this functionality:

    Below is my configuration:

    Then when you deploy your application you will see the prompt, and you can decide whether proceed or not.

     
  • Wang 21:08 on 2019-07-19 Permalink | Reply
    Tags: ,   

    Separate CD process from Jenkins to Spinnaker 

    Spinnaker is an open-source CD tool which is developed by Netflix, now it’s integrated by cloud providers like AWS/GCP/Azure, you can customize your CD process freely, spinnaker doesn’t want to replace Jenkins, they’re focus on different domains.

    It’s a little complex to build Spinnaker, I deployed it by helm in our in-house k8s cluster, and did some modifications on the official chart.

    Then I deployed Spinnaker just like:

    helm repo update
    helm dependency update
    helm install --namespace=<NAMESPACE> --name <DEPLOY_NAME> <CHART DIRECTORY>
    

    Wait for a while you can see all the spinnaker related pods are running:

    Then you can expose Spinnaker deck service:

    export DECK_POD=$(kubectl get pods --namespace delivery-spinnaker -l "cluster=spin-deck" -o jsonpath="{.items[0].metadata.name}")
    kubectl port-forward --namespace delivery-spinnaker $DECK_POD 30900
    

    Now you can visit Spinnaker through browser by http://IP:30900

    Here is a example how I deploy my application through Spinnaker

    1.Create Application & Project

    2.Configure Pipeline under the application

    3.Trigger the pipeline manually

    4.Check the deployment result

    P.S. Also you can check your k8s cluster whether the pods are deployed successfully.

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel