Wednesday, December 23, 2020

Network engineering continued ...

 This is a continuation of the earlier posts starting with this one: http://ravinote.blogspot.com/2020/09/best-practice-from-networking.html

  1. Operators like update involve scaling down the nodes, then performing the update, and then scaling back up. There is no restriction to reuse logic between operators. 


  1. Operators generally work one at a time on the same cluster. This prevents states from being mixed and allowing each reconcile between state and deploys to happen sequentially. 


  1. Operators do not have to retain any information between invocations. Anything that needs to be persisted must be part of the state. 


  1. There is no limit to the number of operators run during deployment. It is preferred to run them sequentially one after the other. The more granular the operators the better they are for maintenance. 

  1. The diagnosability of operators improves with each operator being small and transparent. 


  1. The upgrade operator can be rolling upgrades. Then the operator does not require scale up or down. 

  1. The operators can invoke methods defined in other operators if they are accessible. 


    1. There is a lot in common between installer packages on any other desktop platform and the containerization deployment operators. 


    1. The setup of access and access control are part of the operator actions for deployment and they remain some of the core requirements for the deployment of the product. 

      1. Networking products keep a journal with the data which helps with packet processing. 

      1. Networking products also keep a state machine for the protocol pertaining to the packets. 

      1. Networking products allow testing of the packet content, format, sequence, and driver state machine transitions. 

Tuesday, December 22, 2020

Network engineering continued ...

 Network engineering continued ...

This is a continuation of the earlier posts starting with this one: http://ravinote.blogspot.com/2020/09/best-practice-from-networking.html

    1. The containerized image built must be registered in the hub so that it is made available everywhere. 

    1. There are many features on the container orchestration framework that the networking product can leverage to free itself from the concerns of the infrastructure. Some of these features are available via the SDK. Container technologies also evolve to keep pace with the Infrastructure as a service and cloud technologies.



  1. The type of features from the operator SDK used by a networking product depends on the automation within the container-specific operator specified by this product. If the product wants to take on more of the infrastructure routine from the container orchestration framework, it can certainly do so otherwise the operator and the framework enable it to do just the minimum.


  2. The parameters for the task are best described in the declarative syntax associated with the so-called custom resource required for these deployment operators 


  1. The number of tasks or their type depends on the application and can become sophisticated and customized. There is no restriction to this kind of automation 


  1. One of these features is metering and it works the same way as in the public cloud. The container orchestration framework allows this to be extended so that the product can write its own metric operator.


  1. The operators can be written in a variety of languages depending on the SDK, but a barebone application without heavy interpreters or compilers is preferred. Go language is used for these purposes and particularly in DevOps. 

Monday, December 21, 2020

Network engineering continued ...

This is a continuation of the earlier posts starting with this one: http://ravinote.blogspot.com/2020/09/best-practice-from-networking.html

      1. Different containerization technologies have a proprietary format and semantics for the storage application to use. The most critical aspect of these for say storage servers has been networking because the nodes often scale-out and the nodes need to be declared to the containers for proper connectivity. NAS storage is not going away if hard drives continue to be nearline storage.  


      1. These same containerization technologies allow any storage or networking services to be deployed as images. This is very helpful to run the same image across a variety of hosts without having to recompile and build the package. 


      1. Such an image needs to be built with the help of declared dependencies for the service often called custom resources in the containerization parlance and a logic to reconcile the state of the deployment with the intended declarations. This process is often aided by the sdk from the containerization technology. 


      1. The sdk from containers can also help with the scaffolding code generation for use with the service to build and deploy the service as an image. This code is called an operator 


      1. The operator used to build and deploy the server as an image for the container is usually one per product. The flavors of the product and its releases can be detailed in the definitions for the same operator.